diff --git a/drivers/pci/bus.c b/drivers/pci/bus.c index 38901665c77086a20a6bd1cd087f24971c0d172b..e3bdc88668ec5380de2771c047ccc0d7c9bda590 100644 --- a/drivers/pci/bus.c +++ b/drivers/pci/bus.c @@ -144,7 +144,7 @@ static int pci_bus_alloc_from_region(struct pci_bus *bus, struct resource *res, struct resource *r, avail; resource_size_t max; - type_mask |= IORESOURCE_IO | IORESOURCE_MEM; + type_mask |= IORESOURCE_TYPE_BITS; pci_bus_for_each_resource(bus, r, i) { if (!r)