]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI: Remove __weak tag from pci_remap_iospace()
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 19 Apr 2017 16:48:50 +0000 (17:48 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 19 Apr 2017 18:57:13 +0000 (13:57 -0500)
commit7b309aef0463340d3ad5449d1f605d14e10a4225
treedee43e8b2da0364e3a9419f488c70b77b0ee1f9b
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201
PCI: Remove __weak tag from pci_remap_iospace()

pci_remap_iospace() is marked as a weak symbol even though no architecture
is currently overriding it; given that its implementation internals have
already code paths that are arch specific (ie PCI_IOBASE and
ioremap_page_range() attributes) there is no need to leave the weak symbol
in the kernel since the same functionality can be achieved by customizing
per-arch the corresponding functionality.

Remove the __weak symbol from pci_remap_iospace().

Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
drivers/pci/pci.c