From: Alan Tull <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 <at...@kernel.org>
Signed-off-by: Meng Li <meng...@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

-- 
_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to