Displaying 1 result from an estimated 1 matches for "evtchn_fops".
2007 Mar 05
0
[PATCH 3/10] linux 2.6.18: constify instances of ''struct file_operations''
...=================
--- head-2007-02-27.orig/drivers/xen/evtchn/evtchn.c 2007-03-05 10:00:18.000000000 +0100
+++ head-2007-02-27/drivers/xen/evtchn/evtchn.c 2007-02-27 16:27:37.000000000 +0100
@@ -406,7 +406,7 @@ static int evtchn_release(struct inode *
return 0;
}
-static struct file_operations evtchn_fops = {
+static const struct file_operations evtchn_fops = {
.owner = THIS_MODULE,
.read = evtchn_read,
.write = evtchn_write,
Index: head-2007-02-27/drivers/xen/privcmd/privcmd.c
===================================================================
--- head-2007-02-27.orig/drivers/xen/privc...