diff options
Diffstat (limited to 'net/packet')
-rw-r--r-- | net/packet/af_packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c index d3d52c66cdc2..103d5611b818 100644 --- a/net/packet/af_packet.c +++ b/net/packet/af_packet.c | |||
@@ -2084,7 +2084,7 @@ static void packet_mm_close(struct vm_area_struct *vma) | |||
2084 | atomic_dec(&pkt_sk(sk)->mapped); | 2084 | atomic_dec(&pkt_sk(sk)->mapped); |
2085 | } | 2085 | } |
2086 | 2086 | ||
2087 | static struct vm_operations_struct packet_mmap_ops = { | 2087 | static const struct vm_operations_struct packet_mmap_ops = { |
2088 | .open = packet_mm_open, | 2088 | .open = packet_mm_open, |
2089 | .close = packet_mm_close, | 2089 | .close = packet_mm_close, |
2090 | }; | 2090 | }; |