[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>

authored by Stephen Rothwell and committed by Paul Mackerras b1c30115 8bf8df71

+4 -4
+4 -4
drivers/char/hvcs.c
··· 210 210 static int hvcs_parm_num_devs = -1; 211 211 module_param(hvcs_parm_num_devs, int, 0); 212 212 213 - char hvcs_driver_name[] = "hvcs"; 214 - char hvcs_device_node[] = "hvcs"; 215 - char hvcs_driver_string[] 213 + static const char hvcs_driver_name[] = "hvcs"; 214 + static const char hvcs_device_node[] = "hvcs"; 215 + static const char hvcs_driver_string[] 216 216 = "IBM hvcs (Hypervisor Virtual Console Server) Driver"; 217 217 218 218 /* Status of partner info rescan triggered via sysfs. */ ··· 1092 1092 * NOTICE: Do NOT hold either the hvcs_struct.lock or hvcs_structs_lock when 1093 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 1097 struct hvcs_struct *hvcsd = NULL; 1098 1098 unsigned long flags;