[PATCH 0/3] constify infiniband pci_device_id.
From: Arvind Yadav
Date: Sun Jul 16 2017 - 02:31:30 EST
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 (3):
[PATCH 1/3] infiniband: mthca: constify pci_device_id.
[PATCH 2/3] infiniband: nes: constify pci_device_id.
[PATCH 3/3] infiniband: pvrdma: constify pci_device_id.
drivers/infiniband/hw/mthca/mthca_main.c | 2 +-
drivers/infiniband/hw/nes/nes.c | 2 +-
drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
--
2.7.4