diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index f6a4dd10d9b0da85a009a1cdd8b6498312573ac3..4666a016356ecb2b280b97f2ecdec6b80452c2d3 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -3455,7 +3455,7 @@ static DEFINE_SPINLOCK(io_range_lock); * Record the PCI IO range (expressed as CPU physical address + size). * Return a negative value if an error has occured, zero otherwise */ -int __weak pci_register_io_range(phys_addr_t addr, resource_size_t size) +int pci_register_io_range(phys_addr_t addr, resource_size_t size) { int err = 0;