summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorLad, Prabhakar <prabhakar.csengg@gmail.com>2015-02-05 13:54:08 +0100
committerTomi Valkeinen <tomi.valkeinen@ti.com>2015-03-02 12:17:25 +0100
commitdc4d52149bd1f2f3ae48804731c63de523e42787 (patch)
tree0274f946cc6789aafb1543ce068c42db39806fa2 /drivers/video
parentvideo: fbdev: make of_device_id array const (diff)
downloadlinux-dc4d52149bd1f2f3ae48804731c63de523e42787.tar.xz
linux-dc4d52149bd1f2f3ae48804731c63de523e42787.zip
fbdev: via/via_clock: fix sparse warning
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>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbdev/via/via_clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/via/via_clock.c b/drivers/video/fbdev/via/via_clock.c
index db1e39277e32..bf269fa43977 100644
--- a/drivers/video/fbdev/via/via_clock.c
+++ b/drivers/video/fbdev/via/via_clock.c
@@ -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)