mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
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
@ -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 {
|
|||||||
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 *);
|
||||||
|
Loading…
Reference in New Issue
Block a user