]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.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)
committerSeth Forshee <seth.forshee@canonical.com>
Tue, 10 Apr 2018 17:36:38 +0000 (12:36 -0500)
BugLink: https://bugs.launchpad.net/bugs/1762758
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>
(cherry picked from commit e2515476ab3ca228369be14ac4792787c91d1804)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/pci/pci.c

index 4a7c6864fdf42f8e720a46bd4c38820a29efa989..6df0983bb6458888e4401f18a862562ab105229c 100644 (file)
@@ -3379,7 +3379,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;