msm: Pull RTB out of the board file
The RTB device belongs in the devices file with the rest of devices.
Pull RTB out of the board file and add definitons in appropriate
header files to allow access to parts in the board file. Also
remove CONFIG_MSM_RTB definitions around devices and functions since
the driver matching does the appropriate thing if CONFIG_MSM_RTB isn't
there.
Change-Id: Ia24787d0608ec8523a11cd3291da98924245e77f
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-8064.h b/arch/arm/mach-msm/board-8064.h
index 3729385..67e0e6f 100644
--- a/arch/arm/mach-msm/board-8064.h
+++ b/arch/arm/mach-msm/board-8064.h
@@ -19,6 +19,7 @@
#include <mach/msm_memtypes.h>
#include <mach/irqs.h>
#include <mach/rpm-regulator.h>
+#include <mach/msm_rtb.h>
/* Macros assume PMIC GPIOs and MPPs start at 1 */
#define PM8921_GPIO_BASE NR_GPIO_IRQS
@@ -141,4 +142,5 @@
SX150X_EXP4,
};
+extern struct msm_rtb_platform_data apq8064_rtb_pdata;
#endif