diff options
author | Joe Perches <joe@perches.com> | 2010-09-13 14:23:52 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-14 23:22:02 -0400 |
commit | 6f68ad7fbb421df0aa3c267768245b2e86a91f74 (patch) | |
tree | cdf10311569b24220e9852e48388633c6513e210 /drivers/isdn | |
parent | 068e8a30320e33b1f8d15df9eaef84f04258f96d (diff) |
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')
-rw-r--r-- | drivers/isdn/pcbit/edss1.c | 2 | ||||
-rw-r--r-- | drivers/isdn/pcbit/edss1.h | 2 |
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 @@ | |||
33 | #include "callbacks.h" | 33 | #include "callbacks.h" |
34 | 34 | ||
35 | 35 | ||
36 | char * isdn_state_table[] = { | 36 | const char * const isdn_state_table[] = { |
37 | "Closed", | 37 | "Closed", |
38 | "Call initiated", | 38 | "Call initiated", |
39 | "Overlap sending", | 39 | "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 { | |||
90 | unsigned long timeout; /* in seconds */ | 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 | void pcbit_fsm_event(struct pcbit_dev *, struct pcbit_chan *, | 95 | void pcbit_fsm_event(struct pcbit_dev *, struct pcbit_chan *, |
96 | unsigned short event, struct callb_data *); | 96 | unsigned short event, struct callb_data *); |