|
@@ -36,19 +36,6 @@ resource_size_t pcibios_align_resource(void *data, const struct resource *res,
|
|
return res->start;
|
|
return res->start;
|
|
}
|
|
}
|
|
|
|
|
|
-/**
|
|
|
|
- * pcibios_enable_device - Enable I/O and memory.
|
|
|
|
- * @dev: PCI device to be enabled
|
|
|
|
- * @mask: bitmask of BARs to enable
|
|
|
|
- */
|
|
|
|
-int pcibios_enable_device(struct pci_dev *dev, int mask)
|
|
|
|
-{
|
|
|
|
- if (pci_has_flag(PCI_PROBE_ONLY))
|
|
|
|
- return 0;
|
|
|
|
-
|
|
|
|
- return pci_enable_resources(dev, mask);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
/*
|
|
/*
|
|
* Try to assign the IRQ number from DT when adding a new device
|
|
* Try to assign the IRQ number from DT when adding a new device
|
|
*/
|
|
*/
|