diff options
author | Michele Curti <michele.curti@gmail.com> | 2016-04-27 21:23:07 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-28 12:35:36 -0700 |
commit | 10871c13608a624562e082196148f1dc4e37005e (patch) | |
tree | 4b76e77b52902363acfef2e775e90b3cdd4ae221 /drivers/usb | |
parent | 26186e5f2c1a6d1c244a3052f02e46ae29d823f2 (diff) | |
download | linux-10871c13608a624562e082196148f1dc4e37005e.tar.gz linux-10871c13608a624562e082196148f1dc4e37005e.tar.bz2 linux-10871c13608a624562e082196148f1dc4e37005e.zip |
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')
-rw-r--r-- | drivers/usb/core/devio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c index 52c4461dfccd..73ce87166401 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 }; |