diff options
Diffstat (limited to 'net')
-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 1238949e66a9..d7ecca0a0c07 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 | }; |