summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-09-20 14:49:50 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-02-23 09:39:19 +0200
commitf060f95365ce71acbf29ef5dac580ab067600f4c (patch)
tree66b5d83ea6c878151af0294af1ea26827335920c
parent8f5e35a7942afe70eb0ba0d8193801b7989ae03a (diff)
OMAPFB: remove omapfb_set_platform_data()
omapfb_set_platform_data() is no longer used, so remove it. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Acked-by: Tony Lindgren <tony@atomide.com>
-rw-r--r--arch/arm/plat-omap/fb.c15
-rw-r--r--include/linux/omapfb.h3
2 files changed, 0 insertions, 18 deletions
diff --git a/arch/arm/plat-omap/fb.c b/arch/arm/plat-omap/fb.c
index a742b60912cd..45f35c983f44 100644
--- a/arch/arm/plat-omap/fb.c
+++ b/arch/arm/plat-omap/fb.c
@@ -52,10 +52,6 @@ static struct platform_device omap_fb_device = {
.num_resources = 0,
};
-void omapfb_set_platform_data(struct omapfb_platform_data *data)
-{
-}
-
static int __init omap_init_fb(void)
{
const struct omap_lcd_config *conf;
@@ -87,11 +83,6 @@ static struct platform_device omap_fb_device = {
.num_resources = 0,
};
-void omapfb_set_platform_data(struct omapfb_platform_data *data)
-{
- omapfb_config = *data;
-}
-
static int __init omap_init_fb(void)
{
return platform_device_register(&omap_fb_device);
@@ -99,10 +90,4 @@ static int __init omap_init_fb(void)
arch_initcall(omap_init_fb);
-#else
-
-void omapfb_set_platform_data(struct omapfb_platform_data *data)
-{
-}
-
#endif
diff --git a/include/linux/omapfb.h b/include/linux/omapfb.h
index 7a8e0ea345eb..a575706a83c3 100644
--- a/include/linux/omapfb.h
+++ b/include/linux/omapfb.h
@@ -226,9 +226,6 @@ struct omapfb_platform_data {
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 /* __OMAPFB_H */