diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-11-29 13:42:48 +0100 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-03-12 22:40:54 +0100 |
commit | 2d04559dc23bed905ed2904f2bbcbcc3f1a7fd91 (patch) | |
tree | 7ef55431faa1dd60d332aff9cfac0cec5676e967 /drivers/video/sh_mobile_lcdcfb.h | |
parent | 13f80eea562be6cd58b5bdefc224c87cc0d9288d (diff) | |
download | blackbird-op-linux-2d04559dc23bed905ed2904f2bbcbcc3f1a7fd91.tar.gz blackbird-op-linux-2d04559dc23bed905ed2904f2bbcbcc3f1a7fd91.zip |
fbdev: sh_mobile_lcdc: Store display mode in a struct fb_videomode
Embed struct fb_videomode instead of struct fb_var_screeninfo in struct
sh_mobile_lcdc_chan to store the display mode.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'drivers/video/sh_mobile_lcdcfb.h')
-rw-r--r-- | drivers/video/sh_mobile_lcdcfb.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/video/sh_mobile_lcdcfb.h b/drivers/video/sh_mobile_lcdcfb.h index 9c91fae1ea45..c1753877b4ec 100644 --- a/drivers/video/sh_mobile_lcdcfb.h +++ b/drivers/video/sh_mobile_lcdcfb.h @@ -68,7 +68,11 @@ struct sh_mobile_lcdc_chan { unsigned long pan_offset; wait_queue_head_t frame_end_wait; struct completion vsync_completion; - struct fb_var_screeninfo display_var; + struct { + unsigned int width; + unsigned int height; + struct fb_videomode mode; + } display; int use_count; int blank_status; struct mutex open_lock; /* protects the use counter */ |