aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/char/hvcs.c8
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 = {
210static int hvcs_parm_num_devs = -1; 210static int hvcs_parm_num_devs = -1;
211module_param(hvcs_parm_num_devs, int, 0); 211module_param(hvcs_parm_num_devs, int, 0);
212 212
213char hvcs_driver_name[] = "hvcs"; 213static const char hvcs_driver_name[] = "hvcs";
214char hvcs_device_node[] = "hvcs"; 214static const char hvcs_device_node[] = "hvcs";
215char hvcs_driver_string[] 215static 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 */
1095struct hvcs_struct *hvcs_get_by_index(int index) 1095static 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;