Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drivers/isdn: Use static const char * const where possible

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Joe Perches and committed by
David S. Miller
6f68ad7f 068e8a30

+2 -2
+1 -1
drivers/isdn/pcbit/edss1.c
··· 33 33 #include "callbacks.h" 34 34 35 35 36 - char * isdn_state_table[] = { 36 + const char * const isdn_state_table[] = { 37 37 "Closed", 38 38 "Call initiated", 39 39 "Overlap sending",
+1 -1
drivers/isdn/pcbit/edss1.h
··· 90 90 unsigned long timeout; /* in seconds */ 91 91 }; 92 92 93 - extern char * isdn_state_table[]; 93 + extern const char * const isdn_state_table[]; 94 94 95 95 void pcbit_fsm_event(struct pcbit_dev *, struct pcbit_chan *, 96 96 unsigned short event, struct callb_data *);