ARM/fb: ep93xx: switch framebuffer to use modedb only
All the EP93xx boards exclusively use modedb to look up video modes from the command line. Root out the parametrization of custom video modes from the platform data and board files and simplify the driver. Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com> Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com> Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:

committed by
Olof Johansson

parent
d330615b90
commit
16478b61f0
@@ -2,11 +2,8 @@
|
||||
#define __VIDEO_EP93XX_H
|
||||
|
||||
struct platform_device;
|
||||
struct fb_videomode;
|
||||
struct fb_info;
|
||||
|
||||
#define EP93XXFB_USE_MODEDB 0
|
||||
|
||||
/* VideoAttributes flags */
|
||||
#define EP93XXFB_STATE_MACHINE_ENABLE (1 << 0)
|
||||
#define EP93XXFB_PIXEL_CLOCK_ENABLE (1 << 1)
|
||||
@@ -38,12 +35,7 @@ struct fb_info;
|
||||
EP93XXFB_PIXEL_DATA_ENABLE)
|
||||
|
||||
struct ep93xxfb_mach_info {
|
||||
unsigned int num_modes;
|
||||
const struct fb_videomode *modes;
|
||||
const struct fb_videomode *default_mode;
|
||||
int bpp;
|
||||
unsigned int flags;
|
||||
|
||||
int (*setup)(struct platform_device *pdev);
|
||||
void (*teardown)(struct platform_device *pdev);
|
||||
void (*blank)(int blank_mode, struct fb_info *info);
|
||||
|
Reference in New Issue
Block a user