Commit 375c324b authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Tomi Valkeinen

ARM: omap/fb: move omap_init_fb to .init.text

omap_init_fb() is only called as arch_initcall and so can live in
.init.text.
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@nokia.com>
parent 87ba8288
......@@ -336,7 +336,7 @@ void omapfb_set_ctrl_platform_data(void *data)
omapfb_config.ctrl_platform_data = data;
}
static inline int omap_init_fb(void)
static int __init omap_init_fb(void)
{
const struct omap_lcd_config *conf;
......@@ -381,7 +381,7 @@ void omapfb_set_platform_data(struct omapfb_platform_data *data)
omapfb_config = *data;
}
static inline int omap_init_fb(void)
static int __init omap_init_fb(void)
{
return platform_device_register(&omap_fb_device);
}
......
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