summaryrefslogtreecommitdiffstats
path: root/net/nfc/af_nfc.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/nfc/af_nfc.c')
-rw-r--r--net/nfc/af_nfc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/nfc/af_nfc.c b/net/nfc/af_nfc.c
index 54e40fa47822..d3e594eb36d0 100644
--- a/net/nfc/af_nfc.c
+++ b/net/nfc/af_nfc.c
@@ -48,7 +48,7 @@ static int nfc_sock_create(struct net *net, struct socket *sock, int proto,
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,