diff options
author | Gabriele Paoloni <gabriele.paoloni@huawei.com> | 2018-03-15 02:15:51 +0800 |
---|---|---|
committer | Bjorn Helgaas <helgaas@kernel.org> | 2018-04-04 08:42:44 -0500 |
commit | e2515476ab3ca228369be14ac4792787c91d1804 (patch) | |
tree | f09968e8a7490e49db225635ffa135e0bc0b4a06 /drivers/pci | |
parent | 031e3601869c815582ca1d49d1ff73de58e446b0 (diff) | |
download | linux-e2515476ab3ca228369be14ac4792787c91d1804.tar.bz2 |
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: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Gabriele Paoloni <gabriele.paoloni@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index f6a4dd10d9b0..4666a016356e 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; |