diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2010-02-18 08:14:31 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-18 14:30:18 -0800 |
commit | b54452b07a7b1b8cc1385edba3ef2ef6d4679d5a (patch) | |
tree | c8a7271b14c4cd9e0dc22a5d0a3bed9e79c88e36 /include/net/netlink.h | |
parent | 3ffe533c87281b68d469b279ff3a5056f9c75862 (diff) | |
download | kernel_samsung_espresso10-b54452b07a7b1b8cc1385edba3ef2ef6d4679d5a.zip kernel_samsung_espresso10-b54452b07a7b1b8cc1385edba3ef2ef6d4679d5a.tar.gz kernel_samsung_espresso10-b54452b07a7b1b8cc1385edba3ef2ef6d4679d5a.tar.bz2 |
const: struct nla_policy
Make remaining netlink policies as const.
Fixup coding style where needed.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netlink.h')
-rw-r--r-- | include/net/netlink.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/netlink.h b/include/net/netlink.h index a63b219..f82e463 100644 --- a/include/net/netlink.h +++ b/include/net/netlink.h @@ -196,7 +196,7 @@ enum { * All other Exact length of attribute payload * * Example: - * static struct nla_policy my_policy[ATTR_MAX+1] __read_mostly = { + * static const struct nla_policy my_policy[ATTR_MAX+1] = { * [ATTR_FOO] = { .type = NLA_U16 }, * [ATTR_BAR] = { .type = NLA_STRING, .len = BARSIZ }, * [ATTR_BAZ] = { .len = sizeof(struct mystruct) }, |