diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-09-20 15:23:13 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-02-23 09:39:23 +0200 |
commit | ddba6c7f7ec6a82ccbce4126d615e73e00b4be12 (patch) | |
tree | 6dfd41afcce098982958c2cd137f57a85fc25462 /include/linux/omapfb.h | |
parent | f060f95365ce71acbf29ef5dac580ab067600f4c (diff) | |
download | linux-stable-ddba6c7f7ec6a82ccbce4126d615e73e00b4be12.tar.gz linux-stable-ddba6c7f7ec6a82ccbce4126d615e73e00b4be12.tar.bz2 linux-stable-ddba6c7f7ec6a82ccbce4126d615e73e00b4be12.zip |
OMAP1: pass LCD config with omapfb_set_lcd_config()
LCD config for old omapfb driver is passed with OMAP_TAG_LCD from board
files or from the bootloader. In an effort to remove OMAP_TAG_LCD, this
patch adds omapfb_set_lcd_config() function that the board files can
call to set the LCD config.
This has the drawback that configuration can no longer come from the
bootloader. Of the boards supported by the kernel, this should only
affect N770 which depends on the data from the bootloader. This patch
adds an LCD config for N770 to its board files, but that is most
probably broken. Fixing this would need information about the HW setup
in N770 boards.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include/linux/omapfb.h')
-rw-r--r-- | include/linux/omapfb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/omapfb.h b/include/linux/omapfb.h index a575706a83c3..4ff57e81051d 100644 --- a/include/linux/omapfb.h +++ b/include/linux/omapfb.h @@ -226,6 +226,8 @@ struct omapfb_platform_data { struct omap_lcd_config lcd; }; +void __init omapfb_set_lcd_config(const struct omap_lcd_config *config); + #endif #endif /* __OMAPFB_H */ |