Commit e2515476 authored by Gabriele Paoloni's avatar Gabriele Paoloni Committed by Bjorn Helgaas

PCI: Remove __weak tag from pci_register_io_range()

pci_register_io_range() has only one definition, so there is no need for
the __weak attribute.  Remove it.
Tested-by: default avatardann frazier <dann.frazier@canonical.com>
Signed-off-by: default avatarGabriele Paoloni <gabriele.paoloni@huawei.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
parent 031e3601
...@@ -3455,7 +3455,7 @@ static DEFINE_SPINLOCK(io_range_lock); ...@@ -3455,7 +3455,7 @@ static DEFINE_SPINLOCK(io_range_lock);
* Record the PCI IO range (expressed as CPU physical address + size). * Record the PCI IO range (expressed as CPU physical address + size).
* Return a negative value if an error has occured, zero otherwise * 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; int err = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment