Skip to content
Snippets Groups Projects
Commit 6f68ad7f authored by Joe Perches's avatar Joe Perches Committed by David S. Miller
Browse files

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

parent 068e8a30
Branches
Tags
No related merge requests found
...@@ -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 *);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment