浏览代码

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 年之前
父节点
当前提交
5a71c61b77
共有 1 个文件被更改,包括 1 次插入1 次删除
  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"},