Skip to content

Commit

Permalink
net/irda: 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
JoePerches authored and davem330 committed Sep 15, 2010
1 parent 030bda0 commit 55b1804
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/net/irda/irlan_event.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ typedef enum {
IRLAN_WATCHDOG_TIMEOUT,
} IRLAN_EVENT;

extern char *irlan_state[];
extern const char * const irlan_state[];

void irlan_do_client_event(struct irlan_cb *self, IRLAN_EVENT event,
struct sk_buff *skb);
Expand Down
2 changes: 1 addition & 1 deletion net/irda/irlan/irlan_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#include <net/irda/irlan_event.h>

char *irlan_state[] = {
const char * const irlan_state[] = {
"IRLAN_IDLE",
"IRLAN_QUERY",
"IRLAN_CONN",
Expand Down

0 comments on commit 55b1804

Please sign in to comment.