Skip to content

Commit 6f68ad7

Browse files
JoePerchesdavem330
authored andcommitted
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>
1 parent 068e8a3 commit 6f68ad7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/isdn/pcbit/edss1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#include "callbacks.h"
3434

3535

36-
char * isdn_state_table[] = {
36+
const char * const isdn_state_table[] = {
3737
"Closed",
3838
"Call initiated",
3939
"Overlap sending",

drivers/isdn/pcbit/edss1.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ struct fsm_timer_entry {
9090
unsigned long timeout; /* in seconds */
9191
};
9292

93-
extern char * isdn_state_table[];
93+
extern const char * const isdn_state_table[];
9494

9595
void pcbit_fsm_event(struct pcbit_dev *, struct pcbit_chan *,
9696
unsigned short event, struct callb_data *);

0 commit comments

Comments
 (0)