diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-11-29 12:42:48 (GMT) |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-03-12 21:40:54 (GMT) |
commit | 2d04559dc23bed905ed2904f2bbcbcc3f1a7fd91 (patch) | |
tree | 7ef55431faa1dd60d332aff9cfac0cec5676e967 /drivers/video/sh_mobile_lcdcfb.h | |
parent | 13f80eea562be6cd58b5bdefc224c87cc0d9288d (diff) | |
download | linux-2d04559dc23bed905ed2904f2bbcbcc3f1a7fd91.tar.xz |
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 9c91fae..c175387 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 */ |