USB: core: constify vm_operations_struct
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 24 Aug 2017 11:17:09 +0000 (16:47 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 09:39:31 +0000 (11:39 +0200)
commitb64d47ae62e5f56727ad6dc2088e13dfab524a83
tree502ecd34ad33e909076ba704d46c36a5acf00e10
parentd527d1ea5d12aafbd0373b5e6547464c370ea18c
USB: core: constify vm_operations_struct

vm_operations_struct are not supposed to change at runtime.
All functions working with const vm_operations_struct.
So mark the non-const structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/devio.c