Home
last modified time | relevance | path

Searched hist:"9 b40a017" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/staging/rtl8712/
H A Dusb_intf.c9b40a017 Tue Aug 08 12:23:15 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> staging: rtl8712: constify usb_device_id

usb_device_id are not supposed to change at runtime. All functions
working with usb_device_id provided by <linux/usb.h> work with
const usb_device_id. 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>
9b40a017 Tue Aug 08 12:23:15 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> staging: rtl8712: constify usb_device_id

usb_device_id are not supposed to change at runtime. All functions
working with usb_device_id provided by <linux/usb.h> work with
const usb_device_id. 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>