diff options
-rw-r--r-- | include/net/irda/irlan_event.h | 2 | ||||
-rw-r--r-- | net/irda/irlan/irlan_event.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/net/irda/irlan_event.h b/include/net/irda/irlan_event.h index 6d9539f05806..018b5a77e610 100644 --- a/include/net/irda/irlan_event.h +++ b/include/net/irda/irlan_event.h | |||
@@ -67,7 +67,7 @@ typedef enum { | |||
67 | IRLAN_WATCHDOG_TIMEOUT, | 67 | IRLAN_WATCHDOG_TIMEOUT, |
68 | } IRLAN_EVENT; | 68 | } IRLAN_EVENT; |
69 | 69 | ||
70 | extern char *irlan_state[]; | 70 | extern const char * const irlan_state[]; |
71 | 71 | ||
72 | void irlan_do_client_event(struct irlan_cb *self, IRLAN_EVENT event, | 72 | void irlan_do_client_event(struct irlan_cb *self, IRLAN_EVENT event, |
73 | struct sk_buff *skb); | 73 | struct sk_buff *skb); |
diff --git a/net/irda/irlan/irlan_event.c b/net/irda/irlan/irlan_event.c index cbcb4eb54037..43f16040a6fe 100644 --- a/net/irda/irlan/irlan_event.c +++ b/net/irda/irlan/irlan_event.c | |||
@@ -24,7 +24,7 @@ | |||
24 | 24 | ||
25 | #include <net/irda/irlan_event.h> | 25 | #include <net/irda/irlan_event.h> |
26 | 26 | ||
27 | char *irlan_state[] = { | 27 | const char * const irlan_state[] = { |
28 | "IRLAN_IDLE", | 28 | "IRLAN_IDLE", |
29 | "IRLAN_QUERY", | 29 | "IRLAN_QUERY", |
30 | "IRLAN_CONN", | 30 | "IRLAN_CONN", |