summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorGabriele Paoloni <gabriele.paoloni@huawei.com>2018-03-15 02:15:51 +0800
committerBjorn Helgaas <helgaas@kernel.org>2018-04-04 08:42:44 -0500
commite2515476ab3ca228369be14ac4792787c91d1804 (patch)
treef09968e8a7490e49db225635ffa135e0bc0b4a06 /drivers/pci
parent031e3601869c815582ca1d49d1ff73de58e446b0 (diff)
downloadlinux-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.c2
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;