OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56e640d
)
drivers/char/hvc_vio: Use static const char arrays
author
Joe Perches
<joe@perches.com>
Mon, 13 Sep 2010 09:47:42 +0000
(09:47 +0000)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Mon, 29 Nov 2010 04:48:18 +0000
(15:48 +1100)
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>
drivers/char/hvc_vio.c
patch
|
blob
|
history
diff --git
a/drivers/char/hvc_vio.c
b/drivers/char/hvc_vio.c
index
27370e9
..
5e2f52b
100644
(file)
--- 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"},