board-msm-8960: Add GSBI9 pdata for SGLTE device
GSBI9 pdata is NULL for SGLTE CDP device. Hence add
GSBI9 pdata for SGLTE device. Remove adding of pdata
for RUMI as it is not required.
Change-Id: I2aaf2965b465e2b3ac8765db10b8da6322b4952b
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-8960.c b/arch/arm/mach-msm/board-8960.c
index 1ca25cc..f84d553 100644
--- a/arch/arm/mach-msm/board-8960.c
+++ b/arch/arm/mach-msm/board-8960.c
@@ -3036,9 +3036,6 @@
msm8960_init_mmc();
register_i2c_devices();
- /* For 8960 Fusion 2.2 Primary IPC */
- if (socinfo_get_platform_subtype() == PLATFORM_SUBTYPE_SGLTE)
- msm_device_uart_dm9.dev.platform_data = &msm_uart_dm9_pdata;
msm8960_init_fb();
slim_register_board_info(msm_slim_devices,
@@ -3103,6 +3100,10 @@
else
platform_device_register(&msm8960_device_uart_gsbi5);
+ /* For 8960 Fusion 2.2 Primary IPC */
+ if (socinfo_get_platform_subtype() == PLATFORM_SUBTYPE_SGLTE)
+ msm_device_uart_dm9.dev.platform_data = &msm_uart_dm9_pdata;
+
platform_add_devices(common_devices, ARRAY_SIZE(common_devices));
msm8960_pm8921_gpio_mpp_init();
platform_add_devices(cdp_devices, ARRAY_SIZE(cdp_devices));