platform: msm8994: Fix compilation warnings for msm8994 platform

Fix compilation warnings

Change-Id: I54fa8782d3a006c52a04417330bb67391f93c5c5
diff --git a/platform/msm8994/acpuclock.c b/platform/msm8994/acpuclock.c
index ba84606..e170046 100644
--- a/platform/msm8994/acpuclock.c
+++ b/platform/msm8994/acpuclock.c
@@ -31,8 +31,10 @@
 #include <reg.h>
 #include <mmc.h>
 #include <clock.h>
+#include <pm8x41.h>
 #include <platform/clock.h>
 #include <platform/iomap.h>
+#include <platform/timer.h>
 #include <rpm-smd.h>
 #include <regulator.h>
 
@@ -140,8 +142,7 @@
 /* Configure MMC clock */
 void clock_config_mmc(uint32_t interface, uint32_t freq)
 {
-	int ret;
-	uint32_t reg;
+	int ret = 0;
 	char clk_name[64];
 
 	snprintf(clk_name, sizeof(clk_name), "sdc%u_core_clk", interface);
diff --git a/platform/msm8994/platform.c b/platform/msm8994/platform.c
index e2e3aa8..80f4ad3 100644
--- a/platform/msm8994/platform.c
+++ b/platform/msm8994/platform.c
@@ -37,8 +37,6 @@
 #include <smem.h>
 #include <board.h>
 
-#define MB (1024*1024)
-
 #define MSM_IOMAP_SIZE ((MSM_IOMAP_END - MSM_IOMAP_BASE)/MB)
 
 /* LK memory - cacheable, write through */