]> xenbits.xensource.com Git - legacy/linux-2.6.18-xen.git/commitdiff
gntdev: gntdev_fops struct should be const.
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 12 Dec 2007 10:13:46 +0000 (10:13 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 12 Dec 2007 10:13:46 +0000 (10:13 +0000)
Signed-off-by: Jan Beulich <jbeulich@novell.com>
drivers/xen/gntdev/gntdev.c

index dab7ccbff2bd616e044738447b33e3082fe76d1b..7db6b5f8fa5e27592bb89c195808d5dc973a7b2a 100644 (file)
@@ -136,7 +136,7 @@ static int gntdev_mmap(struct file *flip, struct vm_area_struct *vma);
 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,