Commit 6f68ad7f authored by Joe Perches's avatar Joe Perches Committed by David S. Miller

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

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 068e8a30
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#include "callbacks.h" #include "callbacks.h"
char * isdn_state_table[] = { const char * const isdn_state_table[] = {
"Closed", "Closed",
"Call initiated", "Call initiated",
"Overlap sending", "Overlap sending",
......
...@@ -90,7 +90,7 @@ struct fsm_timer_entry { ...@@ -90,7 +90,7 @@ struct fsm_timer_entry {
unsigned long timeout; /* in seconds */ 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 *, void pcbit_fsm_event(struct pcbit_dev *, struct pcbit_chan *,
unsigned short event, struct callb_data *); unsigned short event, struct callb_data *);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment