]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
fbdev: via/via_clock: fix sparse warning
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Thu, 5 Feb 2015 12:54:08 +0000 (12:54 +0000)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 2 Mar 2015 11:17:25 +0000 (13:17 +0200)
this patch fixes following sparse warning:

via_clock.c:33:12: warning: symbol 'via_slap' was not declared. Should it be static?

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/via/via_clock.c

index db1e39277e321f37a39b690d4f6f0d5638325376..bf269fa43977e6d7a83dda2269b2d191a08221ef 100644 (file)
@@ -30,7 +30,7 @@
 #include "global.h"
 #include "debug.h"
 
-const char *via_slap = "Please slap VIA Technologies to motivate them "
+static const char *via_slap = "Please slap VIA Technologies to motivate them "
        "releasing full documentation for your platform!\n";
 
 static inline u32 cle266_encode_pll(struct via_pll_config pll)