Re: [PATCH 1/2] video: fbdev: smscufx: constify usb_device_id.
From: Bartlomiej Zolnierkiewicz
Date: Mon Aug 21 2017 - 09:56:52 EST
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 <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@xxxxxxxxx>
Patch queued for 4.14, thanks.
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics