From: Laurent Pinchart Date: Mon, 13 Aug 2012 11:56:46 +0000 (+0200) Subject: fbdev: sh_mobile_lcdc: Make sh_mobile_lcdc_sys_bus_ops static X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=d38d840ac61fdd5fe86b3b5925f538b0a26ed85b;p=deliverable%2Flinux.git fbdev: sh_mobile_lcdc: Make sh_mobile_lcdc_sys_bus_ops static The structure isn't used outside of its compilation unit, make it static. Signed-off-by: Laurent Pinchart --- diff --git a/drivers/video/sh_mobile_lcdcfb.c b/drivers/video/sh_mobile_lcdcfb.c index dd8dd41b4acd..e78fe4bc1524 100644 --- a/drivers/video/sh_mobile_lcdcfb.c +++ b/drivers/video/sh_mobile_lcdcfb.c @@ -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,