commit | 173e7837a20a4cb26d6097f6b968c17344b5189c | [log] [tgz] |
---|---|---|
author | linzhang <xiaolou4617@gmail.com> | Mon May 15 10:26:47 2017 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue May 16 11:54:07 2017 -0400 |
tree | 14fb6490d49b530234ea5f748b1d68bec8a0ee8b | |
parent | 9aef88ec85258ef958d0732c2622959f934882d2 [diff] [blame] |
net: socket: mark socket protocol handler structs as const Signed-off-by: linzhang <xiaolou4617@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/nfc/af_nfc.c b/net/nfc/af_nfc.c index 54e40fa..d3e594e 100644 --- a/net/nfc/af_nfc.c +++ b/net/nfc/af_nfc.c
@@ -48,7 +48,7 @@ return rc; } -static struct net_proto_family nfc_sock_family_ops = { +static const struct net_proto_family nfc_sock_family_ops = { .owner = THIS_MODULE, .family = PF_NFC, .create = nfc_sock_create,