diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2010-01-22 11:17:26 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-23 10:21:27 +0100 |
commit | 5833929cc2ad2b3064b4fac8c44e293972d240d8 (patch) | |
tree | f40c1e8c54f7b42fb1edf7dadc624ad60deac307 /net/xfrm/xfrm_proc.c | |
parent | neigh: simplify seq_file code (diff) | |
download | linux-5833929cc2ad2b3064b4fac8c44e293972d240d8.tar.xz linux-5833929cc2ad2b3064b4fac8c44e293972d240d8.zip |
net: constify MIB name tables
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_proc.c')
-rw-r--r-- | net/xfrm/xfrm_proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_proc.c b/net/xfrm/xfrm_proc.c index fef8db553e8d..c083a4e4e796 100644 --- a/net/xfrm/xfrm_proc.c +++ b/net/xfrm/xfrm_proc.c @@ -15,7 +15,7 @@ #include <net/snmp.h> #include <net/xfrm.h> -static struct snmp_mib xfrm_mib_list[] = { +static const struct snmp_mib xfrm_mib_list[] = { SNMP_MIB_ITEM("XfrmInError", LINUX_MIB_XFRMINERROR), SNMP_MIB_ITEM("XfrmInBufferError", LINUX_MIB_XFRMINBUFFERERROR), SNMP_MIB_ITEM("XfrmInHdrError", LINUX_MIB_XFRMINHDRERROR), |