diff mbox

[12/12] PCI hotplug: use pci_is_pcie()

Message ID 4AFA4DC8.4060806@jp.fujitsu.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Kenji Kaneshige Nov. 11, 2009, 5:38 a.m. UTC
None
diff mbox

Patch

Index: 20091110/drivers/pci/hotplug/pcihp_slot.c
===================================================================
--- 20091110.orig/drivers/pci/hotplug/pcihp_slot.c
+++ 20091110/drivers/pci/hotplug/pcihp_slot.c
@@ -43,7 +43,7 @@  static void program_hpp_type0(struct pci
 		 * Perhaps we *should* use default settings for PCIe, but
 		 * pciehp didn't, so we won't either.
 		 */
-		if (dev->is_pcie)
+		if (pci_is_pcie(dev))
 			return;
 		dev_info(&dev->dev, "using default PCI settings\n");
 		hpp = &pci_default_type0;