htcleo: moved panel init to a defined point

This commit is contained in:
Markinus 2010-09-18 18:19:07 +02:00
parent 00279ec7f8
commit b30bd1a64c
3 changed files with 3 additions and 1 deletions

View File

@ -972,4 +972,3 @@ int __init htcleo_init_panel(void)
return 0;
}
device_initcall(htcleo_init_panel);

View File

@ -773,6 +773,8 @@ static void __init htcleo_init(void)
#ifdef CONFIG_MICROP_COMMON
htcleo_microp_init();
#endif
htcleo_init_panel();
msm_device_i2c_init();
platform_add_devices(devices, ARRAY_SIZE(devices));

View File

@ -167,5 +167,6 @@
#define HTCLEO_GPIO_LED_3V3_EN 85
int htcleo_pm_set_vreg(int enable, unsigned id);
int __init htcleo_init_panel(void);
#endif /* __ARCH_ARM_MACH_MSM_BOARD_HTCLEO_H */