net: phonet: mark header_ops as const

Signed-off-by: Lin Zhang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
Lin Zhang 2017-10-06 01:37:29 +08:00 • committed by David S. Miller
commit 64237470dd
2 changed files with 2 additions and 2 deletions

View file

@ -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,
};