]> git.baikalelectronics.ru Git - kernel.git/commit
video: mxsfb: Adapt to new videomode API
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 8 May 2013 13:05:55 +0000 (21:05 +0800)
committerOlof Johansson <olof@lixom.net>
Thu, 9 May 2013 20:06:00 +0000 (13:06 -0700)
commit6df98fda849c6a106ccb2722ac015baef7417e87
tree5a9bf3b76326934d980c2d7f9d40d038f905ecd5
parent5aa150114c33530626f09fb0a51d16fbec5a095b
video: mxsfb: Adapt to new videomode API

commit 4f126ed09 (videomode: videomode_from_timing work) changed the name of
the function from videomode_from_timing() to videomode_from_timings().

commit 2a530ef3 (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>
drivers/video/Kconfig
drivers/video/mxsfb.c