aboutsummaryrefslogtreecommitdiffstats
path: root/net/packet/af_packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/packet/af_packet.c')
-rw-r--r--net/packet/af_packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c
index 444550917bc1..15ff7b15e211 100644
--- a/net/packet/af_packet.c
+++ b/net/packet/af_packet.c
@@ -1952,7 +1952,7 @@ static int packet_seq_open(struct inode *inode, struct file *file)
1952 return seq_open(file, &packet_seq_ops); 1952 return seq_open(file, &packet_seq_ops);
1953} 1953}
1954 1954
1955static struct file_operations packet_seq_fops = { 1955static const struct file_operations packet_seq_fops = {
1956 .owner = THIS_MODULE, 1956 .owner = THIS_MODULE,
1957 .open = packet_seq_open, 1957 .open = packet_seq_open,
1958 .read = seq_read, 1958 .read = seq_read,