summaryrefslogtreecommitdiffstats
path: root/net/irda
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2013-04-19 17:10:45 +0000
committerDavid S. Miller <davem@davemloft.net>2013-04-25 01:42:06 -0400
commit133b94245c54bb2d8832bfb15975b931bc00d914 (patch)
treea4897a98127484462d9f5c3364681116531346b9 /net/irda
parente12472dc574ca91be4cb87b14fb8cf90bee02c60 (diff)
downloadlinux-133b94245c54bb2d8832bfb15975b931bc00d914.tar.bz2
irda: irlmp_reasons[] can be static
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Acked-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/irda')
-rw-r--r--net/irda/irlmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/irda/irlmp.c b/net/irda/irlmp.c
index 1064621da6f6..98ad6ec4bd3c 100644
--- a/net/irda/irlmp.c
+++ b/net/irda/irlmp.c
@@ -58,7 +58,7 @@ int sysctl_discovery_slots = 6; /* 6 slots by default */
int sysctl_lap_keepalive_time = LM_IDLE_TIMEOUT * 1000 / HZ;
char sysctl_devname[65];
-const char *irlmp_reasons[] = {
+static const char *irlmp_reasons[] = {
"ERROR, NOT USED",
"LM_USER_REQUEST",
"LM_LAP_DISCONNECT",