summaryrefslogtreecommitdiffstats
path: root/net/wimax/op-rfkill.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2010-02-18 09:14:31 +0100
committerDavid S. Miller <davem@davemloft.net>2010-02-18 23:30:18 +0100
commitb54452b07a7b1b8cc1385edba3ef2ef6d4679d5a (patch)
treec8a7271b14c4cd9e0dc22a5d0a3bed9e79c88e36 /net/wimax/op-rfkill.c
parentipv6: drop unused "dev" arg of icmpv6_send() (diff)
downloadlinux-b54452b07a7b1b8cc1385edba3ef2ef6d4679d5a.tar.xz
linux-b54452b07a7b1b8cc1385edba3ef2ef6d4679d5a.zip
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 'net/wimax/op-rfkill.c')
-rw-r--r--net/wimax/op-rfkill.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/wimax/op-rfkill.c b/net/wimax/op-rfkill.c
index ae752a64d920..e978c7136c97 100644
--- a/net/wimax/op-rfkill.c
+++ b/net/wimax/op-rfkill.c
@@ -410,8 +410,7 @@ void wimax_rfkill_rm(struct wimax_dev *wimax_dev)
* just query).
*/
-static const
-struct nla_policy wimax_gnl_rfkill_policy[WIMAX_GNL_ATTR_MAX + 1] = {
+static const struct nla_policy wimax_gnl_rfkill_policy[WIMAX_GNL_ATTR_MAX + 1] = {
[WIMAX_GNL_RFKILL_IFIDX] = {
.type = NLA_U32,
},