drivers/isdn: Use static const char * const where possible
authorJoe Perches <joe@perches.com>
Mon, 13 Sep 2010 18:23:52 +0000 (18:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Sep 2010 03:22:02 +0000 (20:22 -0700)
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/pcbit/edss1.c
drivers/isdn/pcbit/edss1.h

index d5920ae22d730024f23c8f6175b8a260cebd94f9..80c9c16fd5ef3fdc1c07a2d0f63eefbbe2b28cfb 100644 (file)
@@ -33,7 +33,7 @@
 #include "callbacks.h"
 
 
-char * isdn_state_table[] = {
+const char * const isdn_state_table[] = {
   "Closed",
   "Call initiated",
   "Overlap sending",
index 0b64f97015d856e157af4fccb9885e8bf3a184a2..39f8346e28c593b90bca541aefacd86cb9b7effa 100644 (file)
@@ -90,7 +90,7 @@ struct fsm_timer_entry {
        unsigned long timeout;          /* in seconds */
 };
 
-extern char * isdn_state_table[];
+extern const char * const isdn_state_table[];
 
 void pcbit_fsm_event(struct pcbit_dev *, struct pcbit_chan *,
                     unsigned short event, struct callb_data *);