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.
Arvind Yadav (4): [PATCH 1/4] misc: pch_phub: constify pci_device_id. [PATCH 2/4] misc: hpilo: constify pci_device_id. [PATCH 3/4] misc: tifm: constify pci_device_id. [PATCH 4/4] misc: ioc4: constify pci_device_id. drivers/misc/hpilo.c | 2 +- drivers/misc/ioc4.c | 2 +- drivers/misc/pch_phub.c | 2 +- drivers/misc/tifm_7xx1.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) -- 2.7.4