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_h3.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_h3.c')
-rw-r--r-- | drivers/video/fbdev/omap/lcd_h3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/omap/lcd_h3.c b/drivers/video/fbdev/omap/lcd_h3.c index a38af2faba37..428190679617 100644 --- a/drivers/video/fbdev/omap/lcd_h3.c +++ b/drivers/video/fbdev/omap/lcd_h3.c @@ -68,7 +68,7 @@ static unsigned long h3_panel_get_caps(struct lcd_panel *panel) return 0; } -struct lcd_panel h3_panel = { +static struct lcd_panel h3_panel = { .name = "h3", .config = OMAP_LCDC_PANEL_TFT, |