summaryrefslogtreecommitdiff
path: root/net/irda/irlmp.c
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2013-04-19 17:10:45 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-04-25 05:42:06 (GMT)
commit133b94245c54bb2d8832bfb15975b931bc00d914 (patch)
treea4897a98127484462d9f5c3364681116531346b9 /net/irda/irlmp.c
parente12472dc574ca91be4cb87b14fb8cf90bee02c60 (diff)
downloadlinux-133b94245c54bb2d8832bfb15975b931bc00d914.tar.xz
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/irlmp.c')
-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 1064621..98ad6ec 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",