summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/pcbit
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-09-13 18:23:52 +0000
committerDavid S. Miller <davem@davemloft.net>2010-09-14 20:22:02 -0700
commit6f68ad7fbb421df0aa3c267768245b2e86a91f74 (patch)
treecdf10311569b24220e9852e48388633c6513e210 /drivers/isdn/pcbit
parent068e8a30320e33b1f8d15df9eaef84f04258f96d (diff)
downloadblackbird-obmc-linux-6f68ad7fbb421df0aa3c267768245b2e86a91f74.tar.gz
blackbird-obmc-linux-6f68ad7fbb421df0aa3c267768245b2e86a91f74.zip
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>
Diffstat (limited to 'drivers/isdn/pcbit')
-rw-r--r--drivers/isdn/pcbit/edss1.c2
-rw-r--r--drivers/isdn/pcbit/edss1.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/pcbit/edss1.c b/drivers/isdn/pcbit/edss1.c
index d5920ae22d73..80c9c16fd5ef 100644
--- a/drivers/isdn/pcbit/edss1.c
+++ b/drivers/isdn/pcbit/edss1.c
@@ -33,7 +33,7 @@
#include "callbacks.h"
-char * isdn_state_table[] = {
+const char * const isdn_state_table[] = {
"Closed",
"Call initiated",
"Overlap sending",
diff --git a/drivers/isdn/pcbit/edss1.h b/drivers/isdn/pcbit/edss1.h
index 0b64f97015d8..39f8346e28c5 100644
--- a/drivers/isdn/pcbit/edss1.h
+++ b/drivers/isdn/pcbit/edss1.h
@@ -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 *);
OpenPOWER on IntegriCloud