diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2009-05-04 22:20:08 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-05-21 01:44:24 -0400 |
commit | cf6692c07ab4cba8a28780b67706ac804319086b (patch) | |
tree | 5e98a7d769b9ea281763cbdac6520314e5781e1c /arch/powerpc/kernel/pci_32.c | |
parent | 2eb4afb69ff3cdd357d5e68ed82cd131916bd8a7 (diff) |
powerpc/pci: Cleanup some minor cruft
* Removed building setup-irq on ppc32, we don't use it anymore
* Remove duplicate prototype for setup_grackle() code that needs it
gets it from <asm/grackle.h>
* Removed gratuitous pci_io_size type differences between ppc32/ppc64
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/pci_32.c')
-rw-r--r-- | arch/powerpc/kernel/pci_32.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/powerpc/kernel/pci_32.c b/arch/powerpc/kernel/pci_32.c index d473634e39e3..529e677fdab1 100644 --- a/arch/powerpc/kernel/pci_32.c +++ b/arch/powerpc/kernel/pci_32.c | |||
@@ -447,14 +447,6 @@ static int __init pcibios_init(void) | |||
447 | 447 | ||
448 | subsys_initcall(pcibios_init); | 448 | subsys_initcall(pcibios_init); |
449 | 449 | ||
450 | /* the next one is stolen from the alpha port... */ | ||
451 | void __init | ||
452 | pcibios_update_irq(struct pci_dev *dev, int irq) | ||
453 | { | ||
454 | pci_write_config_byte(dev, PCI_INTERRUPT_LINE, irq); | ||
455 | /* XXX FIXME - update OF device tree node interrupt property */ | ||
456 | } | ||
457 | |||
458 | static struct pci_controller* | 450 | static struct pci_controller* |
459 | pci_bus_to_hose(int bus) | 451 | pci_bus_to_hose(int bus) |
460 | { | 452 | { |