summaryrefslogtreecommitdiff
path: root/drivers/usb/core/devio.c
diff options
context:
space:
mode:
authorMichele Curti <michele.curti@gmail.com>2016-04-27 19:23:07 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-04-28 19:35:36 (GMT)
commit10871c13608a624562e082196148f1dc4e37005e (patch)
tree4b76e77b52902363acfef2e775e90b3cdd4ae221 /drivers/usb/core/devio.c
parent26186e5f2c1a6d1c244a3052f02e46ae29d823f2 (diff)
downloadlinux-10871c13608a624562e082196148f1dc4e37005e.tar.xz
usb: devio: declare usbdev_vm_ops as static
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>
Diffstat (limited to 'drivers/usb/core/devio.c')
-rw-r--r--drivers/usb/core/devio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c
index 52c4461..73ce871 100644
--- a/drivers/usb/core/devio.c
+++ b/drivers/usb/core/devio.c
@@ -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
};