Home
last modified time | relevance | path

Searched hist:"69 de8496" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/video/fbdev/
H A Dudlfb.c69de8496 Mon Aug 21 09:49:57 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> video: fbdev: udlfb: 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>
Cc: Steve Glendinning <steve.glendinning@shawell.net>
Cc: Bernie Thompson <bernie@plugable.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
69de8496 Mon Aug 21 09:49:57 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> video: fbdev: udlfb: 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>
Cc: Steve Glendinning <steve.glendinning@shawell.net>
Cc: Bernie Thompson <bernie@plugable.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>