[PATCH 0/5] constify hotplug pci_device_id

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 (5):
  [PATCH 1/5] PCI: hotplug: shpchp: constify pci_device_id.
  [PATCH 2/5] PCI: hotplug: ibmphp: constify pci_device_id.
  [PATCH 3/5] PCI: hotplug: bmphp_ebda: constify pci_device_id.
  [PATCH 4/5] PCI: hotplug: cpcihp_zt5550: constify pci_device_id.
  [PATCH 5/5] PCI: hotplug: cpqphp: constify pci_device_id.

 drivers/pci/hotplug/cpcihp_zt5550.c | 2 +-
 drivers/pci/hotplug/cpqphp_core.c   | 2 +-
 drivers/pci/hotplug/ibmphp_core.c   | 2 +-
 drivers/pci/hotplug/ibmphp_ebda.c   | 2 +-
 drivers/pci/hotplug/shpchp_core.c   | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

-- 
2.7.4




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux