Messages in this thread | | | Subject | Re: [10/11] net: qtnfmac: constify pci_device_id. | From | Kalle Valo <> | Date | Thu, 3 Aug 2017 10:10:31 +0000 (UTC) |
| |
Arvind Yadav <arvind.yadav.cs@gmail.com> 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@gmail.com> > Reviewed-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Patch applied to wireless-drivers-next.git, thanks.
cc5becd38e87 net: qtnfmac: constify pci_device_id.
-- https://patchwork.kernel.org/patch/9845911/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
| |