net: phonet: mark header_ops as const
Signed-off-by: Lin Zhang <xiaolou4617@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

کامیت شده توسط
David S. Miller

والد
a1d753d290
کامیت
64237470dd
@@ -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,
|
||||
};
|
||||
|
مرجع در شماره جدید
Block a user