Re: [v2,02/20] ath6kl: constify usb_device_id

From: Kalle Valo
Date: Fri Aug 11 2017 - 10:00:23 EST


Arvind Yadav <arvind.yadav.cs@xxxxxxxxx> 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>
> Reviewed-by: Steve deRosier <derosier@xxxxxxxxx>
> Tested-by: Steve deRosier <derosier@xxxxxxxxx>
> Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxxxx>

2 patches applied to ath-next branch of ath.git, thanks.

e881a6584941 ath6kl: constify usb_device_id
76b07b30c46b ath9k: constify usb_device_id

--
https://patchwork.kernel.org/patch/9890987/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches