git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PCI hotplug: use pci_is_pcie()
[pandora-kernel.git]
/
drivers
/
pci
/
hotplug
/
pcihp_slot.c
diff --git
a/drivers/pci/hotplug/pcihp_slot.c
b/drivers/pci/hotplug/pcihp_slot.c
index
7f61afe
..
80b461c
100644
(file)
--- a/
drivers/pci/hotplug/pcihp_slot.c
+++ b/
drivers/pci/hotplug/pcihp_slot.c
@@
-43,7
+43,7
@@
static void program_hpp_type0(struct pci_dev *dev, struct hpp_type0 *hpp)
* 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;