aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/sh_mobile_lcdcfb.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-09-07 05:59:00 -0400
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-03-12 17:40:41 -0400
commit217e9c4353aa86f0c7eeb4c275bca73ea8b53be1 (patch)
tree62a238736f54f96ca7e280efa6063e4de3b35e71 /drivers/video/sh_mobile_lcdcfb.c
parentf1f60b5f55099a658a5f79cc453b371a439864e6 (diff)
fbdev: sh_mobile_lcdc: Mark init-only symbols with __devinit(const)
default_720p and sh_mobile_lcdc_check_interface are used at device initialization time only. Mark them as __devinitconst and __devinit respectively. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'drivers/video/sh_mobile_lcdcfb.c')
-rw-r--r--drivers/video/sh_mobile_lcdcfb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/sh_mobile_lcdcfb.c b/drivers/video/sh_mobile_lcdcfb.c
index 8b18360fd47a..d9f394e3c216 100644
--- a/drivers/video/sh_mobile_lcdcfb.c
+++ b/drivers/video/sh_mobile_lcdcfb.c
@@ -1459,7 +1459,7 @@ static int sh_mobile_lcdc_notify(struct notifier_block *nb,
1459 * Probe/remove and driver init/exit 1459 * Probe/remove and driver init/exit
1460 */ 1460 */
1461 1461
1462static const struct fb_videomode default_720p = { 1462static const struct fb_videomode default_720p __devinitconst = {
1463 .name = "HDMI 720p", 1463 .name = "HDMI 720p",
1464 .xres = 1280, 1464 .xres = 1280,
1465 .yres = 720, 1465 .yres = 720,
@@ -1528,7 +1528,7 @@ static int sh_mobile_lcdc_remove(struct platform_device *pdev)
1528 return 0; 1528 return 0;
1529} 1529}
1530 1530
1531static int sh_mobile_lcdc_check_interface(struct sh_mobile_lcdc_chan *ch) 1531static int __devinit sh_mobile_lcdc_check_interface(struct sh_mobile_lcdc_chan *ch)
1532{ 1532{
1533 int interface_type = ch->cfg.interface_type; 1533 int interface_type = ch->cfg.interface_type;
1534 1534