Re: [11/11] brcmfmac: constify pci_device_id
From: Kalle Valo <hidden>
Date: 2017-07-28 15:04:04
Also in:
lkml, netdev
From: Kalle Valo <hidden>
Date: 2017-07-28 15:04:04
Also in:
lkml, netdev
Arvind Yadav [off-list ref] 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 <redacted> Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
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