void __init msm8974_add_drivers(void) { msm_smem_init(); msm_init_modem_notifier_list(); msm_smd_init(); msm_rpm_driver_init(); msm_pm_sleep_status_init(); rpm_regulator_smd_driver_init(); msm_spm_device_init(); krait_power_init(); if (of_board_is_rumi()) msm_clock_init(&msm8974_rumi_clock_init_data); else msm_clock_init(&msm8974_clock_init_data); tsens_tm_init_driver(); msm_thermal_device_init(); lge_add_persistent_device(); #ifdef CONFIG_LGE_QFPROM_INTERFACE lge_add_qfprom_devices(); #endif #ifdef CONFIG_LGE_DIAG_ENABLE_SYSFS lge_add_diag_devices(); #endif #ifdef CONFIG_LGE_LCD_TUNING lge_add_lcd_misc_devices(); #endif /* */ #if defined(CONFIG_BCMDHD) || defined(CONFIG_BCMDHD_MODULE) init_bcm_wifi(); #endif /* */ #if defined(CONFIG_LCD_KCAL) /* */ lge_add_lcd_kcal_devices(); #endif /* CONFIG_LCD_KCAL */ #if defined(CONFIG_LGE_PM_BATTERY_ID_CHECKER) lge_battery_id_devices(); #endif #ifdef CONFIG_LGE_QSDL_SUPPORT lge_add_qsdl_device(); #endif #ifdef CONFIG_USB_G_LGE_ANDROID lge_add_android_usb_devices(); #endif }
void __init msm8974_add_drivers(void) { msm_smem_init(); msm_init_modem_notifier_list(); msm_smd_init(); msm_rpm_driver_init(); msm_pm_sleep_status_init(); rpm_regulator_smd_driver_init(); msm_spm_device_init(); krait_power_init(); if (of_board_is_rumi()) msm_clock_init(&msm8974_rumi_clock_init_data); else msm_clock_init(&msm8974_clock_init_data); tsens_tm_init_driver(); lge_add_persistent_device(); #ifdef CONFIG_LGE_QFPROM_INTERFACE lge_add_qfprom_devices(); #endif #ifdef CONFIG_LGE_DIAG_USB_ACCESS_LOCK lge_add_diag_devices(); #endif #ifdef CONFIG_LGE_LCD_TUNING lge_add_lcd_misc_devices(); #endif #if defined(CONFIG_LCD_KCAL) /* LGE_CHANGE_S * change code for LCD KCAL * 2013-05-08, [email protected] */ lge_add_lcd_kcal_devices(); #endif /* CONFIG_LCD_KCAL */ #if defined(CONFIG_LGE_PM_BATTERY_ID_CHECKER) lge_battery_id_devices(); #endif #ifdef CONFIG_LGE_QSDL_SUPPORT lge_add_qsdl_device(); #endif #ifdef CONFIG_USB_G_LGE_ANDROID lge_add_android_usb_devices(); #endif }
static int __init lge_qsdl_handler_init(void) { lge_add_qsdl_device(); return platform_driver_register(&qsdl_handler_driver); }