Эх сурвалжийг харах

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 жил өмнө
parent
commit
5a71c61b77

+ 1 - 1
drivers/char/hvc_vio.c

@@ -39,7 +39,7 @@
 
 
 #include "hvc_console.h"
 #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 = {
 static struct vio_device_id hvc_driver_table[] __devinitdata = {
 	{"serial", "hvterm1"},
 	{"serial", "hvterm1"},