[linux-yocto] [PATCH 04/25] FogBugz #196859: tty: newhaven_lcd: make local struct static
Meng.Li at windriver.com
Meng.Li at windriver.com
Tue Apr 3 19:37:27 PDT 2018
From: Alan Tull <atull at kernel.org>
commit f23d6e6af94255188e7f21c509bdd41bb2f86b5e from
https://github.com/altera-opensource/linux-socfpga.git
Add 'static' for struct custom_font custom_fonts[]
Signed-off-by: Alan Tull <atull at kernel.org>
Signed-off-by: Meng Li <Meng.Li at windriver.com>
---
drivers/tty/newhaven_lcd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/newhaven_lcd.c b/drivers/tty/newhaven_lcd.c
index 56d1c2d..1d8479b 100644
--- a/drivers/tty/newhaven_lcd.c
+++ b/drivers/tty/newhaven_lcd.c
@@ -60,7 +60,7 @@ struct custom_font {
u8 font[LCD_BYTES_PER_FONT];
};
-struct custom_font custom_fonts[] = {
+static struct custom_font custom_fonts[] = {
{ CUSTOM_BACKSLASH, { 0x00, 0x10, 0x08, 0x04, 0x02, 0x01, 0x00, 0x00, }, },
{ CUSTOM_TILDE, { 0x00, 0x00, 0x00, 0x08, 0x15, 0x02, 0x00, 0x00, }, },
};
--
1.7.9.5
More information about the linux-yocto
mailing list