/*
 * Used to satisfy dependencies for devices that need to be
 * run early or in a particular order. Most likely your device doesn't fall
 * into this category, and thus the driver should not be added here. The
 * EPROBE_DEFER can satisfy most dependency problems.
 */
void __init msm8916_add_drivers(void)
{
	msm_smd_init();
	msm_rpm_driver_init();
	msm_spm_device_init();
	msm_pm_sleep_status_init();
#ifdef CONFIG_LGE_LCD_TUNING
	 lge_add_lcd_ctrl_devices();
#endif
#ifdef CONFIG_USB_G_LGE_ANDROID
	 lge_add_android_usb_devices();
#endif
#ifdef CONFIG_LGE_DIAG_ENABLE_SYSFS
	 lge_add_diag_devices();
#endif
#if defined(CONFIG_LCD_KCAL)
	 lge_add_lcd_kcal_devices();
#endif
#ifdef CONFIG_LGE_QFPROM_INTERFACE
	lge_add_qfprom_devices();
#endif
#if defined(CONFIG_PRE_SELF_DIAGNOSIS)
	lge_add_pre_selfd_devices();
#endif
}
/*
 * Used to satisfy dependencies for devices that need to be
 * run early or in a particular order. Most likely your device doesn't fall
 * into this category, and thus the driver should not be added here. The
 * EPROBE_DEFER can satisfy most dependency problems.
 */
void __init msm8226_add_drivers(void)
{
	msm_smem_init();
	msm_init_modem_notifier_list();
	msm_smd_init();
	msm_rpm_driver_init();
	msm_spm_device_init();
	msm_pm_sleep_status_init();
	rpm_regulator_smd_driver_init();
	qpnp_regulator_init();
	if (of_board_is_rumi())
		msm_clock_init(&msm8226_rumi_clock_init_data);
	else
		msm_clock_init(&msm8226_clock_init_data);
	tsens_tm_init_driver();
	msm_thermal_device_init();
#if defined(CONFIG_ANDROID_RAM_CONSOLE)
	lge_add_persistent_device();
#endif
#ifdef CONFIG_USB_G_LGE_ANDROID
    lge_android_usb_init();
#endif
#ifdef CONFIG_LGE_DIAG_USB_ACCESS_LOCK
//    lge_diag_cmd_init();
#endif
	 #if defined(CONFIG_LCD_KCAL)
	 lge_add_lcd_kcal_devices();
#endif

#ifdef CONFIG_LGE_QFPROM_INTERFACE
	lge_add_qfprom_devices();
#endif

#ifdef CONFIG_LGE_ENABLE_MMC_STRENGTH_CONTROL
    lge_add_mmc_strength_devices();
#endif

#if defined(CONFIG_PRE_SELF_DIAGNOSIS)
	lge_add_pre_selfd_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();
	msm_thermal_device_init();
#ifdef CONFIG_LGE_LCD_TUNING
	lge_add_lcd_misc_devices();
#endif
	lge_add_persistent_device();
#ifdef CONFIG_LGE_QFPROM_INTERFACE
	lge_add_qfprom_devices();
#endif
#ifdef CONFIG_LGE_ECO_MODE
	lge_add_lge_kernel_devices();
#endif
#ifdef CONFIG_LGE_DIAG_USB_ACCESS_LOCK
	lge_add_diag_devices();
#endif
#ifdef CONFIG_USB_G_LGE_ANDROID
	lge_add_android_usb_devices();
#endif
#if defined(CONFIG_LCD_KCAL)
	lge_add_lcd_kcal_devices();
#endif
#if defined(CONFIG_PRE_SELF_DIAGNOSIS)
	lge_add_pre_selfd_devices();
#endif

}