diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-05-08 21:05:55 +0800 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-05-09 13:06:00 -0700 |
commit | d7321df327a1f5a7dd3cb5c51c887c5a43362379 (patch) | |
tree | 5a9bf3b76326934d980c2d7f9d40d038f905ecd5 /drivers/video/Kconfig | |
parent | 60371952e1dd0d507039b2654c22083b32c38398 (diff) | |
download | linux-stable-d7321df327a1f5a7dd3cb5c51c887c5a43362379.tar.gz linux-stable-d7321df327a1f5a7dd3cb5c51c887c5a43362379.tar.bz2 linux-stable-d7321df327a1f5a7dd3cb5c51c887c5a43362379.zip |
video: mxsfb: Adapt to new videomode API
commit 6cd2c7db4 (videomode: videomode_from_timing work) changed the name of
the function from videomode_from_timing() to videomode_from_timings().
commit 32ed6ef1 (videomode: create enum for videomode's display flags) changed
the 'data_flags' field in videomode structure to 'flags'
Adapt to these changes in order to fix the following errors:
drivers/video/mxsfb.c:761:3: error: too many arguments to function 'videomode_from_timing'
drivers/video/mxsfb.c:761:7: error: void value not ignored as it ought to be
drivers/video/mxsfb.c:768:9: error: 'struct videomode' has no member named 'data_flags'
drivers/video/mxsfb.c:770:9: error: 'struct videomode' has no member named 'data_flags'
Also, select VIDEOMODE_HELPER instead of OF_VIDEOMODE, as this one is
deprecated.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'drivers/video/Kconfig')
-rw-r--r-- | drivers/video/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 1534cf3c1423..d71d60f94fc1 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -2429,7 +2429,7 @@ config FB_MXS select FB_CFB_COPYAREA select FB_CFB_IMAGEBLIT select FB_MODE_HELPERS - select OF_VIDEOMODE + select VIDEOMODE_HELPERS help Framebuffer support for the MXS SoC. |