diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-07-21 10:25:00 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-07-22 07:30:59 -0400 |
commit | b1c30115f4861c9dd2dcaaac2a01acc67dd4cf94 (patch) | |
tree | 3c42992b33f425f6b99a61a18e8fd3d22bf8b774 /drivers | |
parent | 8bf8df7120006b8c97ad3a9fcc79e2ba894c46dd (diff) |
[POWERPC] hvcs: Make some things static and const
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/char/hvcs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/char/hvcs.c b/drivers/char/hvcs.c index 17f96e04266f..69d8866de783 100644 --- a/drivers/char/hvcs.c +++ b/drivers/char/hvcs.c | |||
@@ -210,9 +210,9 @@ static struct ktermios hvcs_tty_termios = { | |||
210 | static int hvcs_parm_num_devs = -1; | 210 | static int hvcs_parm_num_devs = -1; |
211 | module_param(hvcs_parm_num_devs, int, 0); | 211 | module_param(hvcs_parm_num_devs, int, 0); |
212 | 212 | ||
213 | char hvcs_driver_name[] = "hvcs"; | 213 | static const char hvcs_driver_name[] = "hvcs"; |
214 | char hvcs_device_node[] = "hvcs"; | 214 | static const char hvcs_device_node[] = "hvcs"; |
215 | char hvcs_driver_string[] | 215 | static const char hvcs_driver_string[] |
216 | = "IBM hvcs (Hypervisor Virtual Console Server) Driver"; | 216 | = "IBM hvcs (Hypervisor Virtual Console Server) Driver"; |
217 | 217 | ||
218 | /* Status of partner info rescan triggered via sysfs. */ | 218 | /* Status of partner info rescan triggered via sysfs. */ |
@@ -1092,7 +1092,7 @@ static int hvcs_enable_device(struct hvcs_struct *hvcsd, uint32_t unit_address, | |||
1092 | * NOTICE: Do NOT hold either the hvcs_struct.lock or hvcs_structs_lock when | 1092 | * NOTICE: Do NOT hold either the hvcs_struct.lock or hvcs_structs_lock when |
1093 | * calling this function or you will get deadlock. | 1093 | * calling this function or you will get deadlock. |
1094 | */ | 1094 | */ |
1095 | struct hvcs_struct *hvcs_get_by_index(int index) | 1095 | static struct hvcs_struct *hvcs_get_by_index(int index) |
1096 | { | 1096 | { |
1097 | struct hvcs_struct *hvcsd = NULL; | 1097 | struct hvcs_struct *hvcsd = NULL; |
1098 | unsigned long flags; | 1098 | unsigned long flags; |