fbdev: sh_mobile_lcdc: Make sh_mobile_lcdc_sys_bus_ops static
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 13 Aug 2012 11:56:46 +0000 (13:56 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 21 Nov 2012 14:50:02 +0000 (15:50 +0100)
The structure isn't used outside of its compilation unit, make it
static.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/video/sh_mobile_lcdcfb.c

index dd8dd41b4acd5393d071880402419d1fa86934c8..e78fe4bc15249c21612020b858273b0c8884f3da 100644 (file)
@@ -438,7 +438,7 @@ static unsigned long lcdc_sys_read_data(void *handle)
        return lcdc_read(ch->lcdc, _LDDRDR) & LDDRDR_DRD_MASK;
 }
 
-struct sh_mobile_lcdc_sys_bus_ops sh_mobile_lcdc_sys_bus_ops = {
+static struct sh_mobile_lcdc_sys_bus_ops sh_mobile_lcdc_sys_bus_ops = {
        lcdc_sys_write_index,
        lcdc_sys_write_data,
        lcdc_sys_read_data,