summaryrefslogtreecommitdiffstats
path: root/arch/tile/kernel/pci.c
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@avionic-design.de>2012-09-17 13:22:54 +0200
committerBjorn Helgaas <bhelgaas@google.com>2012-09-18 17:28:21 -0600
commit8885b7b637fa9aca7e1b00581a0173c6956966d3 (patch)
tree68511ba698f6837498a9ed0a18d312039cb89e5f /arch/tile/kernel/pci.c
parent3ddbebf878ac8d958bb34e87a742a6b3adc283a3 (diff)
downloadlinux-8885b7b637fa9aca7e1b00581a0173c6956966d3.tar.bz2
PCI: Provide a default pcibios_update_irq()
Most architectures implement this in exactly the same way. Instead of having each architecture duplicate this function, provide a single implementation in the core and make it a weak symbol so that it can be overridden on architectures where it is required. Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/tile/kernel/pci.c')
-rw-r--r--arch/tile/kernel/pci.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/tile/kernel/pci.c b/arch/tile/kernel/pci.c
index 6245bba8b1d6..dbdab34f27cb 100644
--- a/arch/tile/kernel/pci.c
+++ b/arch/tile/kernel/pci.c
@@ -404,14 +404,6 @@ void pcibios_set_master(struct pci_dev *dev)
}
/*
- * This is called from the generic Linux layer.
- */
-void pcibios_update_irq(struct pci_dev *dev, int irq)
-{
- pci_write_config_byte(dev, PCI_INTERRUPT_LINE, irq);
-}
-
-/*
* Enable memory and/or address decoding, as appropriate, for the
* device described by the 'dev' struct.
*