drivers/char/hvc_vio: Use static const char arrays
authorJoe Perches <joe@perches.com>
Mon, 13 Sep 2010 09:47:42 +0000 (09:47 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 29 Nov 2010 04:48:18 +0000 (15:48 +1100)
Signed-off-by: Joe Perches <joe@perches.com>
Reviewed-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/char/hvc_vio.c

index 27370e99c66fa0a371ffec67a6e6d87b35af4477..5e2f52b33327e07acc5933dad1ffea7bc224dd41 100644 (file)
@@ -39,7 +39,7 @@
 
 #include "hvc_console.h"
 
-char hvc_driver_name[] = "hvc_console";
+static const char hvc_driver_name[] = "hvc_console";
 
 static struct vio_device_id hvc_driver_table[] __devinitdata = {
        {"serial", "hvterm1"},