mach: msm: move mpm.h under proper include path
Currently "mpm.h" file is located under arch/arm/mach-msm/ directory
and source code files using mpm functionality are also location under
same directory. But if any source code files located out side
arch/arm/mach-msm/ directory won't be able to add "mpm.h" file.
So this patch moves the "mpm.h" from arch/arm/mach-msm/ directory to
arch/arm/mach-msm/include/mach/ directory.
Change-Id: Ic9247a9fa9303cf5a653399458602cd316fdf9d9
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-8064.c b/arch/arm/mach-msm/board-8064.c
index a017347..36a81b6 100644
--- a/arch/arm/mach-msm/board-8064.c
+++ b/arch/arm/mach-msm/board-8064.c
@@ -71,7 +71,7 @@
#include "board-8064.h"
#include "acpuclock.h"
#include "spm.h"
-#include "mpm.h"
+#include <mach/mpm.h>
#include "rpm_resources.h"
#include "pm.h"
#include "pm-boot.h"
diff --git a/arch/arm/mach-msm/board-8930.c b/arch/arm/mach-msm/board-8930.c
index 98f1228..e500632 100644
--- a/arch/arm/mach-msm/board-8930.c
+++ b/arch/arm/mach-msm/board-8930.c
@@ -84,7 +84,7 @@
#include "pm.h"
#include <mach/cpuidle.h>
#include "rpm_resources.h"
-#include "mpm.h"
+#include <mach/mpm.h>
#include "acpuclock.h"
#include "smd_private.h"
#include "pm-boot.h"
diff --git a/arch/arm/mach-msm/board-8960.c b/arch/arm/mach-msm/board-8960.c
index 106d2ef..b6f35b2 100644
--- a/arch/arm/mach-msm/board-8960.c
+++ b/arch/arm/mach-msm/board-8960.c
@@ -92,7 +92,7 @@
#include "pm.h"
#include <mach/cpuidle.h>
#include "rpm_resources.h"
-#include "mpm.h"
+#include <mach/mpm.h>
#include "acpuclock.h"
#include "smd_private.h"
#include "pm-boot.h"
diff --git a/arch/arm/mach-msm/board-msm8x60.c b/arch/arm/mach-msm/board-msm8x60.c
index 6a0e5df..39061a6 100644
--- a/arch/arm/mach-msm/board-msm8x60.c
+++ b/arch/arm/mach-msm/board-msm8x60.c
@@ -90,7 +90,7 @@
#include "devices-msm8x60.h"
#include <mach/cpuidle.h>
#include "pm.h"
-#include "mpm.h"
+#include <mach/mpm.h>
#include "spm.h"
#include "rpm_log.h"
#include "timer.h"
diff --git a/arch/arm/mach-msm/devices-8064.c b/arch/arm/mach-msm/devices-8064.c
index aef5cfd..f6b753d 100644
--- a/arch/arm/mach-msm/devices-8064.c
+++ b/arch/arm/mach-msm/devices-8064.c
@@ -39,7 +39,7 @@
#include "msm_watchdog.h"
#include "rpm_stats.h"
#include "rpm_log.h"
-#include "mpm.h"
+#include <mach/mpm.h>
/* Address of GSBI blocks */
#define MSM_GSBI1_PHYS 0x12440000
diff --git a/arch/arm/mach-msm/devices-8930.c b/arch/arm/mach-msm/devices-8930.c
index da3574b..583c12d 100644
--- a/arch/arm/mach-msm/devices-8930.c
+++ b/arch/arm/mach-msm/devices-8930.c
@@ -28,7 +28,7 @@
#include "rpm_stats.h"
#ifdef CONFIG_MSM_MPM
-#include "mpm.h"
+#include <mach/mpm.h>
#endif
struct msm_rpm_platform_data msm8930_rpm_data __initdata = {
diff --git a/arch/arm/mach-msm/devices-8960.c b/arch/arm/mach-msm/devices-8960.c
index e8e6e37..63c799e 100644
--- a/arch/arm/mach-msm/devices-8960.c
+++ b/arch/arm/mach-msm/devices-8960.c
@@ -49,7 +49,7 @@
#include <mach/msm_dcvs.h>
#ifdef CONFIG_MSM_MPM
-#include "mpm.h"
+#include <mach/mpm.h>
#endif
#ifdef CONFIG_MSM_DSPS
#include <mach/msm_dsps.h>
diff --git a/arch/arm/mach-msm/devices-9615.c b/arch/arm/mach-msm/devices-9615.c
index f7306d2..3c671ed 100644
--- a/arch/arm/mach-msm/devices-9615.c
+++ b/arch/arm/mach-msm/devices-9615.c
@@ -33,7 +33,7 @@
#include <mach/dma.h>
#include "pm.h"
#include "devices.h"
-#include "mpm.h"
+#include <mach/mpm.h>
#include "spm.h"
#include "rpm_resources.h"
#include "msm_watchdog.h"
diff --git a/arch/arm/mach-msm/devices-msm8x60.c b/arch/arm/mach-msm/devices-msm8x60.c
index ba333ed..bedd133 100644
--- a/arch/arm/mach-msm/devices-msm8x60.c
+++ b/arch/arm/mach-msm/devices-msm8x60.c
@@ -54,7 +54,7 @@
#include <sound/apr_audio.h>
#include "rpm_log.h"
#include "rpm_stats.h"
-#include "mpm.h"
+#include <mach/mpm.h>
#include "msm_watchdog.h"
/* Address of GSBI blocks */
diff --git a/arch/arm/mach-msm/gpio-v2.c b/arch/arm/mach-msm/gpio-v2.c
index b716a6c..d1766a3 100644
--- a/arch/arm/mach-msm/gpio-v2.c
+++ b/arch/arm/mach-msm/gpio-v2.c
@@ -27,7 +27,7 @@
#include <mach/msm_iomap.h>
#include <mach/gpiomux.h>
-#include "mpm.h"
+#include <mach/mpm.h>
/* Bits of interest in the GPIO_IN_OUT register.
*/
diff --git a/arch/arm/mach-msm/mpm.h b/arch/arm/mach-msm/include/mach/mpm.h
similarity index 100%
rename from arch/arm/mach-msm/mpm.h
rename to arch/arm/mach-msm/include/mach/mpm.h
diff --git a/arch/arm/mach-msm/mpm.c b/arch/arm/mach-msm/mpm.c
index 746c0f8..dccdc8b 100644
--- a/arch/arm/mach-msm/mpm.c
+++ b/arch/arm/mach-msm/mpm.c
@@ -26,7 +26,7 @@
#include <mach/msm_iomap.h>
#include <mach/gpio.h>
-#include "mpm.h"
+#include <mach/mpm.h>
/******************************************************************************
* Debug Definitions
diff --git a/arch/arm/mach-msm/rpm_resources.c b/arch/arm/mach-msm/rpm_resources.c
index 6282eca..7daea5c 100644
--- a/arch/arm/mach-msm/rpm_resources.c
+++ b/arch/arm/mach-msm/rpm_resources.c
@@ -25,7 +25,7 @@
#include <asm/mach-types.h>
#include <linux/io.h>
#include <mach/socinfo.h>
-#include "mpm.h"
+#include <mach/mpm.h>
#include "rpm_resources.h"
#include "spm.h"
#include "idle.h"