summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/omap/lcd_palmte.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_palmte.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_palmte.c')
-rw-r--r--drivers/video/fbdev/omap/lcd_palmte.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/omap/lcd_palmte.c b/drivers/video/fbdev/omap/lcd_palmte.c
index c0cee37118cd..fef7e45db1fe 100644
--- a/drivers/video/fbdev/omap/lcd_palmte.c
+++ b/drivers/video/fbdev/omap/lcd_palmte.c
@@ -49,7 +49,7 @@ static unsigned long palmte_panel_get_caps(struct lcd_panel *panel)
return 0;
}
-struct lcd_panel palmte_panel = {
+static struct lcd_panel palmte_panel = {
.name = "palmte",
.config = OMAP_LCDC_PANEL_TFT | OMAP_LCDC_INV_VSYNC |
OMAP_LCDC_INV_HSYNC | OMAP_LCDC_HSVS_RISING_EDGE |