From 13f80eea562be6cd58b5bdefc224c87cc0d9288d Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Tue, 29 Nov 2011 01:46:12 +0100 Subject: fbdev: sh_mobile_hdmi: Don't access LCDC fb_info The LCDC fb_info structure is only used to retrieve the default video mode in case none of the modes advertised by EDID information is acceptable. Pass a pointer to the default mode through the sh_mobile_lcdc_entity structure instead. Signed-off-by: Laurent Pinchart --- drivers/video/sh_mobile_lcdcfb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/video/sh_mobile_lcdcfb.h') diff --git a/drivers/video/sh_mobile_lcdcfb.h b/drivers/video/sh_mobile_lcdcfb.h index 10086ae2c5ea..9c91fae1ea45 100644 --- a/drivers/video/sh_mobile_lcdcfb.h +++ b/drivers/video/sh_mobile_lcdcfb.h @@ -40,6 +40,7 @@ struct sh_mobile_lcdc_entity { struct module *owner; const struct sh_mobile_lcdc_entity_ops *ops; struct sh_mobile_lcdc_chan *lcdc; + struct fb_videomode def_mode; }; /* -- cgit v1.2.1