From: Joe Perches Date: Mon, 13 Sep 2010 09:47:42 +0000 (+0000) Subject: drivers/char/hvc_vio: Use static const char arrays X-Git-Tag: firefly_0821_release~7613^2~3051^2~48 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5a71c61b7724ad0acedff254e07dc1a7dd05ee76;p=firefly-linux-kernel-4.4.55.git drivers/char/hvc_vio: Use static const char arrays Signed-off-by: Joe Perches Reviewed-by: Stephen Rothwell Signed-off-by: Benjamin Herrenschmidt --- diff --git a/drivers/char/hvc_vio.c b/drivers/char/hvc_vio.c index 27370e99c66f..5e2f52b33327 100644 --- a/drivers/char/hvc_vio.c +++ b/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"},