diff options
author | Lin Zhang <xiaolou4617@gmail.com> | 2017-10-05 19:37:29 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-08 00:15:08 +0200 |
commit | 64237470ddf97b63155fbd272c9e743e01d5f514 (patch) | |
tree | 8ac0775eec99ff470baf6e6092da73707ffd4f16 /net/phonet/af_phonet.c | |
parent | Merge branch 'bpf-perf-time-helpers' (diff) | |
download | linux-64237470ddf97b63155fbd272c9e743e01d5f514.tar.xz linux-64237470ddf97b63155fbd272c9e743e01d5f514.zip |
net: phonet: mark header_ops as const
Signed-off-by: Lin Zhang <xiaolou4617@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/phonet/af_phonet.c')
-rw-r--r-- | net/phonet/af_phonet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/phonet/af_phonet.c b/net/phonet/af_phonet.c index f925753668a7..b12142e55d19 100644 --- a/net/phonet/af_phonet.c +++ b/net/phonet/af_phonet.c @@ -149,7 +149,7 @@ static int pn_header_parse(const struct sk_buff *skb, unsigned char *haddr) return 1; } -struct header_ops phonet_header_ops = { +const struct header_ops phonet_header_ops = { .create = pn_header_create, .parse = pn_header_parse, }; |