]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
PCI: Remove __weak tag from pci_register_io_range()
authorGabriele Paoloni <gabriele.paoloni@huawei.com>
Wed, 14 Mar 2018 18:15:51 +0000 (02:15 +0800)
committerBjorn Helgaas <helgaas@kernel.org>
Wed, 4 Apr 2018 13:42:44 +0000 (08:42 -0500)
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>
drivers/pci/pci.c

index f6a4dd10d9b0da85a009a1cdd8b6498312573ac3..4666a016356ecb2b280b97f2ecdec6b80452c2d3 100644 (file)
@@ -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;