Commit 55b1804c authored by Joe Perches's avatar Joe Perches Committed by David S. Miller
Browse files

net/irda: Use static const char * const where possible

parent 030bda0d
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -67,7 +67,7 @@ typedef enum {
	IRLAN_WATCHDOG_TIMEOUT,
	IRLAN_WATCHDOG_TIMEOUT,
} IRLAN_EVENT;
} IRLAN_EVENT;


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


void irlan_do_client_event(struct irlan_cb *self, IRLAN_EVENT event, 
void irlan_do_client_event(struct irlan_cb *self, IRLAN_EVENT event, 
			   struct sk_buff *skb);
			   struct sk_buff *skb);
+1 −1
Original line number Original line Diff line number Diff line
@@ -24,7 +24,7 @@


#include <net/irda/irlan_event.h>
#include <net/irda/irlan_event.h>


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