]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit48f3aafc580674d69fdddffc2eba3bc4d0d1d45f
tree5de2568cfb18b95207915b6ae0e0e7608aa0bce7
parent02373dcdf0b6b7cce5b89f444ed8ee8f84ce32dc
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