Commit 48d861ef authored by Tony Lindgren's avatar Tony Lindgren

ARM: OMAP: Make registration work

Make registration work
parent 99429063
...@@ -331,10 +331,8 @@ static inline void omap_init_fb(void) ...@@ -331,10 +331,8 @@ static inline void omap_init_fb(void)
const struct omap_lcd_config *conf; const struct omap_lcd_config *conf;
conf = omap_get_config(OMAP_TAG_LCD, struct omap_lcd_config); conf = omap_get_config(OMAP_TAG_LCD, struct omap_lcd_config);
if (conf == NULL) if (conf != NULL)
return; omap_fb_conf = *conf;
omap_fb_conf = *conf;
platform_device_register(&omap_fb_device); platform_device_register(&omap_fb_device);
} }
...@@ -369,6 +367,7 @@ static int __init omap_init_devices(void) ...@@ -369,6 +367,7 @@ static int __init omap_init_devices(void)
/* please keep these calls, and their implementations above, /* please keep these calls, and their implementations above,
* in alphabetical order so they're easier to sort through. * in alphabetical order so they're easier to sort through.
*/ */
omap_init_fb();
omap_init_i2c(); omap_init_i2c();
omap_init_mmc(); omap_init_mmc();
omap_init_wdt(); omap_init_wdt();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment