summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/omap/lcd_palmz71.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2017-01-30 17:39:49 +0100
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2017-01-30 17:39:49 +0100
commitb2c1e8a75b2b3a5eb517f5f67eceae6d8c81ee1e (patch)
tree165403bf1a39e80c4ad52f91204629003a3caea2 /drivers/video/fbdev/omap/lcd_palmz71.c
parentfbdev: omap/lcd: Remove no-op driver callbacks (diff)
downloadlinux-b2c1e8a75b2b3a5eb517f5f67eceae6d8c81ee1e.tar.xz
linux-b2c1e8a75b2b3a5eb517f5f67eceae6d8c81ee1e.zip
fbdev: omap/lcd: Staticize non-exported lcd_panel structs
None of the lcd_panel structs defined by the OMAP LCD drivers are referenced outside of their compilation unit. Follow best practices and mark them as static. Cc: Tomi Valkeinen <tomi.valkeinen@ti.com> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'drivers/video/fbdev/omap/lcd_palmz71.c')
-rw-r--r--drivers/video/fbdev/omap/lcd_palmz71.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/omap/lcd_palmz71.c b/drivers/video/fbdev/omap/lcd_palmz71.c
index ccb556d17a86..bff7425e1bb9 100644
--- a/drivers/video/fbdev/omap/lcd_palmz71.c
+++ b/drivers/video/fbdev/omap/lcd_palmz71.c
@@ -51,7 +51,7 @@ static unsigned long palmz71_panel_get_caps(struct lcd_panel *panel)
return OMAPFB_CAPS_SET_BACKLIGHT;
}
-struct lcd_panel palmz71_panel = {
+static struct lcd_panel palmz71_panel = {
.name = "palmz71",
.config = OMAP_LCDC_PANEL_TFT | OMAP_LCDC_INV_VSYNC |
OMAP_LCDC_INV_HSYNC | OMAP_LCDC_HSVS_RISING_EDGE |