Re: [PATCH 1/2] video: fbdev: smscufx: constify usb_device_id.

2017-08-21 Thread Bartlomiej Zolnierkiewicz
On Sunday, August 06, 2017 12:39:27 PM Arvind Yadav wrote: > usb_device_id are not supposed to change at runtime. All functions > working with usb_device_id provided by work with > const usb_device_id. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav

Re: [PATCH 1/2] video: fbdev: smscufx: constify usb_device_id.

2017-08-21 Thread Bartlomiej Zolnierkiewicz
On Sunday, August 06, 2017 12:39:27 PM Arvind Yadav wrote: > usb_device_id are not supposed to change at runtime. All functions > working with usb_device_id provided by work with > const usb_device_id. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav Patch queued for

[PATCH 1/2] video: fbdev: smscufx: constify usb_device_id.

2017-08-06 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/video/fbdev/smscufx.c | 2 +- 1 file changed, 1

[PATCH 1/2] video: fbdev: smscufx: constify usb_device_id.

2017-08-06 Thread Arvind Yadav
usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/video/fbdev/smscufx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)