[PATCH 04/25] drivers/char: Use static const char arrays
Joe Perches
joe at perches.com
Tue Sep 14 05:47:42 EST 2010
Signed-off-by: Joe Perches <joe at perches.com>
---
drivers/char/hvc_vio.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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"},
--
1.7.3.rc1
More information about the Linuxppc-dev
mailing list