aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/sh_mobile_lcdcfb.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-11-29 07:42:48 -0500
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-03-12 17:40:54 -0400
commit2d04559dc23bed905ed2904f2bbcbcc3f1a7fd91 (patch)
tree7ef55431faa1dd60d332aff9cfac0cec5676e967 /drivers/video/sh_mobile_lcdcfb.h
parent13f80eea562be6cd58b5bdefc224c87cc0d9288d (diff)
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.h6
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 {
68 unsigned long pan_offset; 68 unsigned long pan_offset;
69 wait_queue_head_t frame_end_wait; 69 wait_queue_head_t frame_end_wait;
70 struct completion vsync_completion; 70 struct completion vsync_completion;
71 struct fb_var_screeninfo display_var; 71 struct {
72 unsigned int width;
73 unsigned int height;
74 struct fb_videomode mode;
75 } display;
72 int use_count; 76 int use_count;
73 int blank_status; 77 int blank_status;
74 struct mutex open_lock; /* protects the use counter */ 78 struct mutex open_lock; /* protects the use counter */