Skip to content

Commit

Permalink
drivers/isdn: Use static const char * const where possible
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Joe Perches authored and David S. Miller committed Sep 15, 2010
1 parent 068e8a3 commit 6f68ad7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/isdn/pcbit/edss1.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include "callbacks.h"


char * isdn_state_table[] = {
const char * const isdn_state_table[] = {
"Closed",
"Call initiated",
"Overlap sending",
Expand Down
2 changes: 1 addition & 1 deletion drivers/isdn/pcbit/edss1.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 *);
Expand Down

0 comments on commit 6f68ad7

Please sign in to comment.