summaryrefslogtreecommitdiffstats
path: root/net/nonet.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/nonet.c')
-rw-r--r--net/nonet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/nonet.c b/net/nonet.c
index 1230f0a..92e7664 100644
--- a/net/nonet.c
+++ b/net/nonet.c
@@ -19,7 +19,7 @@ static int sock_no_open(struct inode *irrelevant, struct file *dontcare)
return -ENXIO;
}
-struct file_operations bad_sock_fops = {
+const struct file_operations bad_sock_fops = {
.owner = THIS_MODULE,
.open = sock_no_open,
};
OpenPOWER on IntegriCloud