msm: board-msm7x27a: Fix compilation when Camera is disabled.
Add Config macros for Camera to fix the compilation
when CONFIG_MSM_CAMERA is disabled.
Signed-off-by: Pankaj Kumar <pakuma@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-msm7x27a.c b/arch/arm/mach-msm/board-msm7x27a.c
index 105eed7..e56cc74 100644
--- a/arch/arm/mach-msm/board-msm7x27a.c
+++ b/arch/arm/mach-msm/board-msm7x27a.c
@@ -3183,10 +3183,12 @@
atmel_ts_i2c_info,
ARRAY_SIZE(atmel_ts_i2c_info));
+#if defined(CONFIG_MSM_CAMERA)
msm_camera_vreg_init();
i2c_register_board_info(MSM_GSBI0_QUP_I2C_BUS_ID,
i2c_camera_devices,
ARRAY_SIZE(i2c_camera_devices));
+#endif
platform_device_register(&kp_pdev);
platform_device_register(&hs_pdev);