mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 17:41:44 +00:00
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>
This commit is contained in:
parent
26186e5f2c
commit
10871c1360
@ -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
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user