diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2008-07-11 10:27:54 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-07-15 13:44:35 -0400 |
commit | edcaf1a6a77315562e9781245cc8e028c9a921dc (patch) | |
tree | a20a0a85071fa283c36db87a41d1a7e091a35781 /arch/mips/pci/fixup-rbtx4938.c | |
parent | 766891565bdaf605ea4aebe3e75de77e848254d0 (diff) |
[MIPS] TXx9: Make single kernel can support multiple boards
Make single kernel can be used on RBTX4927/37/38. Also make
some SoC-specific code independent from board-specific code.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/pci/fixup-rbtx4938.c')
-rw-r--r-- | arch/mips/pci/fixup-rbtx4938.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/arch/mips/pci/fixup-rbtx4938.c b/arch/mips/pci/fixup-rbtx4938.c index 39c995830384..a80579af609b 100644 --- a/arch/mips/pci/fixup-rbtx4938.c +++ b/arch/mips/pci/fixup-rbtx4938.c | |||
@@ -13,7 +13,7 @@ | |||
13 | #include <asm/txx9/pci.h> | 13 | #include <asm/txx9/pci.h> |
14 | #include <asm/txx9/rbtx4938.h> | 14 | #include <asm/txx9/rbtx4938.h> |
15 | 15 | ||
16 | int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) | 16 | int __init rbtx4938_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) |
17 | { | 17 | { |
18 | int irq = tx4938_pcic1_map_irq(dev, slot); | 18 | int irq = tx4938_pcic1_map_irq(dev, slot); |
19 | 19 | ||
@@ -51,12 +51,3 @@ int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) | |||
51 | } | 51 | } |
52 | return irq; | 52 | return irq; |
53 | } | 53 | } |
54 | |||
55 | /* | ||
56 | * Do platform specific device initialization at pci_enable_device() time | ||
57 | */ | ||
58 | int pcibios_plat_dev_init(struct pci_dev *dev) | ||
59 | { | ||
60 | return 0; | ||
61 | } | ||
62 | |||