net: usbnet: make driver_info const
authorBen Dooks <ben-linux@fluff.org>
Mon, 1 Oct 2018 16:02:43 +0000 (17:02 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Oct 2018 05:22:46 +0000 (22:22 -0700)
commitf3edc2dbe0ad0bbbd8450cd37328f99acf215fd8
tree12b4c4b97ef171c0e208b80c1cd8b949b6ca8dac
parent8873c064d1de579ea23412a6d3eee972593f142b
net: usbnet: make driver_info const

The driver_info field that is used for describing each of the usb-net
drivers using the usbnet.c core all declare their information as const
and the usbnet.c itself does not try and modify the struct.

It is therefore a good idea to make this const in the usbnet.c structure
in case anyone tries to modify it.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/usbnet.c
include/linux/usb/usbnet.h