X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=net%2Fnonet.c;h=92e76640c7cd65146dd6aed382698174f7a0f2a2;hb=a0e7d508f6c9e00d1749353eb82db08dca178f41;hp=1230f0ae832e9d52bdd50e4411a56e0ebd795510;hpb=d347da0deffa1d8f88f0d270eab040e4707c9916;p=linux-2.6-omap-h63xx.git diff --git a/net/nonet.c b/net/nonet.c index 1230f0ae832..92e76640c7c 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, };