Browse Source

drivers/char/hvc_vio: Use static const char arrays

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>
Joe Perches 14 years ago
parent
commit
5a71c61b77
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/char/hvc_vio.c

+ 1 - 1
drivers/char/hvc_vio.c

@@ -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"},