Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Lars-Peter Clausen and committed by
Bartlomiej Zolnierkiewicz
b2c1e8a7 0ed71116

+8 -8
+1 -1
drivers/video/fbdev/omap/lcd_h3.c
··· 68 68 return 0; 69 69 } 70 70 71 - struct lcd_panel h3_panel = { 71 + static struct lcd_panel h3_panel = { 72 72 .name = "h3", 73 73 .config = OMAP_LCDC_PANEL_TFT, 74 74
+1 -1
drivers/video/fbdev/omap/lcd_htcherald.c
··· 56 56 } 57 57 58 58 /* Found on WIZ200 (miknix) and some HERA110 models (darkstar62) */ 59 - struct lcd_panel htcherald_panel_1 = { 59 + static struct lcd_panel htcherald_panel_1 = { 60 60 .name = "lcd_herald", 61 61 .config = OMAP_LCDC_PANEL_TFT | 62 62 OMAP_LCDC_INV_HSYNC |
+1 -1
drivers/video/fbdev/omap/lcd_inn1510.c
··· 53 53 return 0; 54 54 } 55 55 56 - struct lcd_panel innovator1510_panel = { 56 + static struct lcd_panel innovator1510_panel = { 57 57 .name = "inn1510", 58 58 .config = OMAP_LCDC_PANEL_TFT, 59 59
+1 -1
drivers/video/fbdev/omap/lcd_inn1610.c
··· 74 74 return 0; 75 75 } 76 76 77 - struct lcd_panel innovator1610_panel = { 77 + static struct lcd_panel innovator1610_panel = { 78 78 .name = "inn1610", 79 79 .config = OMAP_LCDC_PANEL_TFT, 80 80
+1 -1
drivers/video/fbdev/omap/lcd_osk.c
··· 73 73 return 0; 74 74 } 75 75 76 - struct lcd_panel osk_panel = { 76 + static struct lcd_panel osk_panel = { 77 77 .name = "osk", 78 78 .config = OMAP_LCDC_PANEL_TFT, 79 79
+1 -1
drivers/video/fbdev/omap/lcd_palmte.c
··· 49 49 return 0; 50 50 } 51 51 52 - struct lcd_panel palmte_panel = { 52 + static struct lcd_panel palmte_panel = { 53 53 .name = "palmte", 54 54 .config = OMAP_LCDC_PANEL_TFT | OMAP_LCDC_INV_VSYNC | 55 55 OMAP_LCDC_INV_HSYNC | OMAP_LCDC_HSVS_RISING_EDGE |
+1 -1
drivers/video/fbdev/omap/lcd_palmtt.c
··· 56 56 return OMAPFB_CAPS_SET_BACKLIGHT; 57 57 } 58 58 59 - struct lcd_panel palmtt_panel = { 59 + static struct lcd_panel palmtt_panel = { 60 60 .name = "palmtt", 61 61 .config = OMAP_LCDC_PANEL_TFT | OMAP_LCDC_INV_VSYNC | 62 62 OMAP_LCDC_INV_HSYNC | OMAP_LCDC_HSVS_RISING_EDGE |
+1 -1
drivers/video/fbdev/omap/lcd_palmz71.c
··· 51 51 return OMAPFB_CAPS_SET_BACKLIGHT; 52 52 } 53 53 54 - struct lcd_panel palmz71_panel = { 54 + static struct lcd_panel palmz71_panel = { 55 55 .name = "palmz71", 56 56 .config = OMAP_LCDC_PANEL_TFT | OMAP_LCDC_INV_VSYNC | 57 57 OMAP_LCDC_INV_HSYNC | OMAP_LCDC_HSVS_RISING_EDGE |