aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/probe.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/probe.c')
-rw-r--r--drivers/pci/probe.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index 1ae9c3f50ffa..0e0401dd02cb 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -639,6 +639,8 @@ static void pci_read_irq(struct pci_dev *dev)
639 dev->irq = irq; 639 dev->irq = irq;
640} 640}
641 641
642#define LEGACY_IO_RESOURCE (IORESOURCE_IO | IORESOURCE_PCI_FIXED)
643
642/** 644/**
643 * pci_setup_device - fill in class and map information of a device 645 * pci_setup_device - fill in class and map information of a device
644 * @dev: the device structure to fill 646 * @dev: the device structure to fill
@@ -649,9 +651,6 @@ static void pci_read_irq(struct pci_dev *dev)
649 * Returns 0 on success and -1 if unknown type of device (not normal, bridge 651 * Returns 0 on success and -1 if unknown type of device (not normal, bridge
650 * or CardBus). 652 * or CardBus).
651 */ 653 */
652
653#define LEGACY_IO_RESOURCE (IORESOURCE_IO | IORESOURCE_PCI_FIXED)
654
655static int pci_setup_device(struct pci_dev * dev) 654static int pci_setup_device(struct pci_dev * dev)
656{ 655{
657 u32 class; 656 u32 class;