diff mbox

[04/25] drivers/char: Use static const char arrays

Message ID a2936d6a439d294efa41dd567d29d0d301e844de.1284406638.git.joe@perches.com (mailing list archive)
State Accepted, archived
Commit 5a71c61b7724ad0acedff254e07dc1a7dd05ee76
Delegated to: Benjamin Herrenschmidt
Headers show

Commit Message

Joe Perches Sept. 13, 2010, 7:47 p.m. UTC
Signed-off-by: Joe Perches <joe@perches.com>
---
 drivers/char/hvc_vio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Stephen Rothwell Sept. 14, 2010, 2:06 a.m. UTC | #1
Hi Joe,

On Mon, 13 Sep 2010 12:47:42 -0700 Joe Perches <joe@perches.com> wrote:
>
> Signed-off-by: Joe Perches <joe@perches.com>

Reviewed-by: Stephen Rothwell <sfr@canb.auug.org.au>
diff mbox

Patch

diff --git a/drivers/char/hvc_vio.c b/drivers/char/hvc_vio.c
index 27370e9..5e2f52b 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"},