[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] gntdev: gntdev_fops struct should be const.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1197454426 0
# Node ID 869bfd143693761cd7f44afe374c96c70a4578a5
# Parent  ca1dd3c0daa9723380c49d102181f5624e912b8b
gntdev: gntdev_fops struct should be const.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 drivers/xen/gntdev/gntdev.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r ca1dd3c0daa9 -r 869bfd143693 drivers/xen/gntdev/gntdev.c
--- a/drivers/xen/gntdev/gntdev.c       Wed Dec 12 10:11:27 2007 +0000
+++ b/drivers/xen/gntdev/gntdev.c       Wed Dec 12 10:13:46 2007 +0000
@@ -136,7 +136,7 @@ static long gntdev_ioctl(struct file *fl
 static long gntdev_ioctl(struct file *flip,
                         unsigned int cmd, unsigned long arg);
 
-static struct file_operations gntdev_fops = {
+static const struct file_operations gntdev_fops = {
        .owner = THIS_MODULE,
        .open = gntdev_open,
        .release = gntdev_release,

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.