usb: devio: declare usbdev_vm_ops as static
authorMichele Curti <michele.curti@gmail.com>
Wed, 27 Apr 2016 19:23:07 +0000 (21:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Apr 2016 19:35:36 +0000 (12:35 -0700)
usbdev_vm_ops is used in devio.c only, so declare it as static

Signed-off-by: Michele Curti <michele.curti@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/devio.c

index 52c4461dfccddecff1bf1708c677bb605e9bc5a9..73ce87166401a593d6b2ef55c52d9dc02197165e 100644 (file)
@@ -216,7 +216,7 @@ static void usbdev_vm_close(struct vm_area_struct *vma)
        dec_usb_memory_use_count(usbm, &usbm->vma_use_count);
 }
 
-struct vm_operations_struct usbdev_vm_ops = {
+static struct vm_operations_struct usbdev_vm_ops = {
        .open = usbdev_vm_open,
        .close = usbdev_vm_close
 };
This page took 0.026853 seconds and 5 git commands to generate.