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>
This commit is contained in:
parent
068e8a3032
commit
6f68ad7fbb
2 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@
|
|||
#include "callbacks.h"
|
||||
|
||||
|
||||
char * isdn_state_table[] = {
|
||||
const char * const isdn_state_table[] = {
|
||||
"Closed",
|
||||
"Call initiated",
|
||||
"Overlap sending",
|
||||
|
|
|
@ -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 *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue