msm: 8064: Add UART device for APQ8064 RUMI3
Add the device declaration and initialization code for the
GSBI1 UART device on the APQ8064 RUMI3.
Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-apq8064.c b/arch/arm/mach-msm/board-apq8064.c
index 0a255bc..9f36efb 100644
--- a/arch/arm/mach-msm/board-apq8064.c
+++ b/arch/arm/mach-msm/board-apq8064.c
@@ -113,7 +113,6 @@
}
static struct platform_device *common_devices[] __initdata = {
- &apq8064_device_uart_gsbi3,
&apq8064_device_qup_i2c_gsbi4,
&apq8064_device_qup_spi_gsbi5,
&apq8064_device_ssbi_pmic1,
@@ -122,6 +121,11 @@
static struct platform_device *sim_devices[] __initdata = {
&apq8064_device_dmov,
+ &apq8064_device_uart_gsbi3,
+};
+
+static struct platform_device *rumi3_devices[] __initdata = {
+ &apq8064_device_uart_gsbi1,
};
static struct msm_spi_platform_data apq8064_qup_spi_gsbi5_pdata = {
@@ -219,6 +223,7 @@
static void __init apq8064_rumi3_init(void)
{
apq8064_common_init();
+ platform_add_devices(rumi3_devices, ARRAY_SIZE(rumi3_devices));
}
MACHINE_START(APQ8064_SIM, "QCT APQ8064 SIMULATOR")