PCI: Turn pcibios_penalize_isa_irq() into a weak function
authorHanjun Guo <hanjun.guo@linaro.org>
Tue, 6 May 2014 03:29:52 +0000 (11:29 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 27 May 2014 22:23:58 +0000 (16:23 -0600)
pcibios_penalize_isa_irq() is only implemented by x86 now, and legacy ISA
is not used by some architectures.  Make pcibios_penalize_isa_irq() a
__weak function to simplify the code.  This removes the need for new
platforms to add stub implementations of pcibios_penalize_isa_irq().

[bhelgaas: changelog, comments]
Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>

No differences found