Commit 217e9c43 authored by Laurent Pinchart's avatar Laurent Pinchart

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: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
parent f1f60b5f
...@@ -1459,7 +1459,7 @@ static int sh_mobile_lcdc_notify(struct notifier_block *nb, ...@@ -1459,7 +1459,7 @@ static int sh_mobile_lcdc_notify(struct notifier_block *nb,
* Probe/remove and driver init/exit * Probe/remove and driver init/exit
*/ */
static const struct fb_videomode default_720p = { static const struct fb_videomode default_720p __devinitconst = {
.name = "HDMI 720p", .name = "HDMI 720p",
.xres = 1280, .xres = 1280,
.yres = 720, .yres = 720,
...@@ -1528,7 +1528,7 @@ static int sh_mobile_lcdc_remove(struct platform_device *pdev) ...@@ -1528,7 +1528,7 @@ static int sh_mobile_lcdc_remove(struct platform_device *pdev)
return 0; return 0;
} }
static int sh_mobile_lcdc_check_interface(struct sh_mobile_lcdc_chan *ch) static int __devinit sh_mobile_lcdc_check_interface(struct sh_mobile_lcdc_chan *ch)
{ {
int interface_type = ch->cfg.interface_type; int interface_type = ch->cfg.interface_type;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment