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-8930.h b/arch/arm/mach-msm/board-8930.h
index a8fad72..2bbbf80 100644
--- a/arch/arm/mach-msm/board-8930.h
+++ b/arch/arm/mach-msm/board-8930.h
@@ -22,6 +22,7 @@
#include <mach/irqs.h>
#include <mach/rpm-regulator.h>
#include <mach/msm_memtypes.h>
+#include <mach/msm_rtb.h>
/*
* TODO: When physical 8930/PM8038 hardware becomes
@@ -137,3 +138,5 @@
#define MSM_8930_GSBI4_QUP_I2C_BUS_ID 4
#define MSM_8930_GSBI9_QUP_I2C_BUS_ID 0
#define MSM_8930_GSBI10_QUP_I2C_BUS_ID 10
+
+extern struct msm_rtb_platform_data msm8930_rtb_pdata;