summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e8e3fa9)
raw | patch | inline | side by side (parent: e8e3fa9)
author | Arthur Philpott <arthur.philpott@ti.com> | |
Fri, 12 Apr 2013 13:29:05 +0000 (08:29 -0500) | ||
committer | Praneeth Bajjuri <praneeth@ti.com> | |
Fri, 12 Jul 2013 22:28:57 +0000 (17:28 -0500) |
Omapfb_set_platform_data function must be moved before
the initialization or else omapfb_config will never
be set with the correct data.
Change-Id: I8366f54973fdb367cc3e47714b92216ffbe0691b
Signed-off-by: Arthur Philpott <arthur.philpott@ti.com>
the initialization or else omapfb_config will never
be set with the correct data.
Change-Id: I8366f54973fdb367cc3e47714b92216ffbe0691b
Signed-off-by: Arthur Philpott <arthur.philpott@ti.com>
arch/arm/mach-omap2/fb.c | patch | blob | history |
index 2767cb203d7b2171e01575b6003ac94245329c8f..14455b824c2c519df72f1147103488f094104506 100644 (file)
--- a/arch/arm/mach-omap2/fb.c
+++ b/arch/arm/mach-omap2/fb.c
.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);
#endif
-void omapfb_set_platform_data(struct omapfb_platform_data *data)
-{
- omapfb_config = *data;
-}
-