diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2017-01-30 19:39:49 +0300 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2017-01-30 19:39:49 +0300 |
commit | b2c1e8a75b2b3a5eb517f5f67eceae6d8c81ee1e (patch) | |
tree | 165403bf1a39e80c4ad52f91204629003a3caea2 /drivers/video/fbdev/omap/lcd_htcherald.c | |
parent | 0ed711168a2079ae4a0935638ef8d0e314c261b0 (diff) | |
download | linux-b2c1e8a75b2b3a5eb517f5f67eceae6d8c81ee1e.tar.xz |
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_htcherald.c')
-rw-r--r-- | drivers/video/fbdev/omap/lcd_htcherald.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/omap/lcd_htcherald.c b/drivers/video/fbdev/omap/lcd_htcherald.c index a2ca5e92b30d..dd2ce69060b8 100644 --- a/drivers/video/fbdev/omap/lcd_htcherald.c +++ b/drivers/video/fbdev/omap/lcd_htcherald.c @@ -56,7 +56,7 @@ static unsigned long htcherald_panel_get_caps(struct lcd_panel *panel) } /* Found on WIZ200 (miknix) and some HERA110 models (darkstar62) */ -struct lcd_panel htcherald_panel_1 = { +static struct lcd_panel htcherald_panel_1 = { .name = "lcd_herald", .config = OMAP_LCDC_PANEL_TFT | OMAP_LCDC_INV_HSYNC | |