Re: [11/11] brcmfmac: constify pci_device_id
From: Kalle Valo
Date: Fri Jul 28 2017 - 11:04:06 EST
Arvind Yadav <arvind.yadav.cs@xxxxxxxxx> wrote:
> pci_device_id are not supposed to change at runtime. All functions
> working with pci_device_id provided by <linux/pci.h> work with
> const pci_device_id. So mark the non-const structs as const.
>
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@xxxxxxxxx>
> Acked-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx>
Patch applied to wireless-drivers-next.git, thanks.
e66d70b789d1 brcmfmac: constify pci_device_id
--
https://patchwork.kernel.org/patch/9845919/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches