diff options
| author | Bjorn Helgaas <bhelgaas@google.com> | 2012-09-19 12:52:37 -0400 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-09-19 12:52:37 -0400 |
| commit | 9b9a6d261616bed589302bc6244c5bd7c99a733f (patch) | |
| tree | 40c45e75445e724fc2a2281d28a7dd84d7d2ad57 /arch/tile/kernel | |
| parent | 8704936a70586cc0834ddf35760cd0fe4b65131e (diff) | |
| parent | 8885b7b637fa9aca7e1b00581a0173c6956966d3 (diff) | |
Merge branch 'pci/thierry-fixup-irqs' into next
* pci/thierry-fixup-irqs:
PCI: Provide a default pcibios_update_irq()
PCI: Discard __init annotations for pci_fixup_irqs() and related functions
Diffstat (limited to 'arch/tile/kernel')
| -rw-r--r-- | arch/tile/kernel/pci.c | 8 | ||||
| -rw-r--r-- | arch/tile/kernel/pci_gx.c | 8 |
2 files changed, 0 insertions, 16 deletions
diff --git a/arch/tile/kernel/pci.c b/arch/tile/kernel/pci.c index d2292be6fb90..759822687e8f 100644 --- a/arch/tile/kernel/pci.c +++ b/arch/tile/kernel/pci.c | |||
| @@ -390,14 +390,6 @@ void pcibios_set_master(struct pci_dev *dev) | |||
| 390 | } | 390 | } |
| 391 | 391 | ||
| 392 | /* | 392 | /* |
| 393 | * This is called from the generic Linux layer. | ||
| 394 | */ | ||
| 395 | void __devinit pcibios_update_irq(struct pci_dev *dev, int irq) | ||
| 396 | { | ||
| 397 | pci_write_config_byte(dev, PCI_INTERRUPT_LINE, irq); | ||
| 398 | } | ||
| 399 | |||
| 400 | /* | ||
| 401 | * Enable memory and/or address decoding, as appropriate, for the | 393 | * Enable memory and/or address decoding, as appropriate, for the |
| 402 | * device described by the 'dev' struct. | 394 | * device described by the 'dev' struct. |
| 403 | * | 395 | * |
diff --git a/arch/tile/kernel/pci_gx.c b/arch/tile/kernel/pci_gx.c index 0e213e35ffc3..2ba6d052f85d 100644 --- a/arch/tile/kernel/pci_gx.c +++ b/arch/tile/kernel/pci_gx.c | |||
| @@ -1034,14 +1034,6 @@ char __devinit *pcibios_setup(char *str) | |||
| 1034 | } | 1034 | } |
| 1035 | 1035 | ||
| 1036 | /* | 1036 | /* |
| 1037 | * This is called from the generic Linux layer. | ||
| 1038 | */ | ||
| 1039 | void __devinit pcibios_update_irq(struct pci_dev *dev, int irq) | ||
| 1040 | { | ||
| 1041 | pci_write_config_byte(dev, PCI_INTERRUPT_LINE, irq); | ||
| 1042 | } | ||
| 1043 | |||
| 1044 | /* | ||
| 1045 | * Enable memory address decoding, as appropriate, for the | 1037 | * Enable memory address decoding, as appropriate, for the |
| 1046 | * device described by the 'dev' struct. The I/O decoding | 1038 | * device described by the 'dev' struct. The I/O decoding |
| 1047 | * is disabled, though the TILE-Gx supports I/O addressing. | 1039 | * is disabled, though the TILE-Gx supports I/O addressing. |
