提交 f060f953 编写于 作者: T Tomi Valkeinen

OMAPFB: remove omapfb_set_platform_data()

omapfb_set_platform_data() is no longer used, so remove it.
Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: NTony Lindgren <tony@atomide.com>
上级 8f5e35a7
...@@ -52,10 +52,6 @@ static struct platform_device omap_fb_device = { ...@@ -52,10 +52,6 @@ static struct platform_device omap_fb_device = {
.num_resources = 0, .num_resources = 0,
}; };
void omapfb_set_platform_data(struct omapfb_platform_data *data)
{
}
static int __init omap_init_fb(void) static int __init omap_init_fb(void)
{ {
const struct omap_lcd_config *conf; const struct omap_lcd_config *conf;
...@@ -87,11 +83,6 @@ static struct platform_device omap_fb_device = { ...@@ -87,11 +83,6 @@ static struct platform_device omap_fb_device = {
.num_resources = 0, .num_resources = 0,
}; };
void omapfb_set_platform_data(struct omapfb_platform_data *data)
{
omapfb_config = *data;
}
static int __init omap_init_fb(void) static int __init omap_init_fb(void)
{ {
return platform_device_register(&omap_fb_device); return platform_device_register(&omap_fb_device);
...@@ -99,10 +90,4 @@ static int __init omap_init_fb(void) ...@@ -99,10 +90,4 @@ static int __init omap_init_fb(void)
arch_initcall(omap_init_fb); arch_initcall(omap_init_fb);
#else
void omapfb_set_platform_data(struct omapfb_platform_data *data)
{
}
#endif #endif
...@@ -226,9 +226,6 @@ struct omapfb_platform_data { ...@@ -226,9 +226,6 @@ struct omapfb_platform_data {
struct omap_lcd_config lcd; struct omap_lcd_config lcd;
}; };
/* in arch/arm/plat-omap/fb.c */
extern void omapfb_set_platform_data(struct omapfb_platform_data *data);
#endif #endif
#endif /* __OMAPFB_H */ #endif /* __OMAPFB_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册