X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Firda%2Fircomm%2Fircomm_event.c;h=01f4e801a1ba6b7ec1c485eebb2785b8571c336d;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=3ad421cbea8320612d7843180bd5b52080ae3a32;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/net/irda/ircomm/ircomm_event.c b/net/irda/ircomm/ircomm_event.c index 3ad421cbe..01f4e801a 100644 --- a/net/irda/ircomm/ircomm_event.c +++ b/net/irda/ircomm/ircomm_event.c @@ -57,7 +57,8 @@ char *ircomm_state[] = { "IRCOMM_CONN", }; -char *ircomm_event[] = { +#ifdef CONFIG_IRDA_DEBUG +static char *ircomm_event[] = { "IRCOMM_CONNECT_REQUEST", "IRCOMM_CONNECT_RESPONSE", "IRCOMM_TTP_CONNECT_INDICATION", @@ -75,6 +76,7 @@ char *ircomm_event[] = { "IRCOMM_CONTROL_REQUEST", "IRCOMM_CONTROL_INDICATION", }; +#endif /* CONFIG_IRDA_DEBUG */ static int (*state[])(struct ircomm_cb *self, IRCOMM_EVENT event, struct sk_buff *skb, struct ircomm_info *info) =