]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/char/applicom.c
applicom: constify pci_device_id.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 1 Aug 2017 16:01:57 +0000 (21:31 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 15:11:28 +0000 (17:11 +0200)
commit2c9c4ae6573a3f4c270e8a35cd71700d3b802ea8
tree5de2568cfb18b95207915b6ae0e0e7608aa0bce7
parent5cb95fae7a326f164751782114981e48bf284258
applicom: constify pci_device_id.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/applicom.c