diff options
Diffstat (limited to 'arch/sh/drivers/pci/fixups-r7780rp.c')
-rw-r--r-- | arch/sh/drivers/pci/fixups-r7780rp.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/sh/drivers/pci/fixups-r7780rp.c b/arch/sh/drivers/pci/fixups-r7780rp.c index f9370dce0b70..57ed3f09d0c2 100644 --- a/arch/sh/drivers/pci/fixups-r7780rp.c +++ b/arch/sh/drivers/pci/fixups-r7780rp.c | |||
@@ -12,13 +12,10 @@ | |||
12 | */ | 12 | */ |
13 | #include <linux/pci.h> | 13 | #include <linux/pci.h> |
14 | #include <linux/io.h> | 14 | #include <linux/io.h> |
15 | #include <linux/sh_intc.h> | ||
15 | #include "pci-sh4.h" | 16 | #include "pci-sh4.h" |
16 | 17 | ||
17 | static char irq_tab[] __initdata = { | ||
18 | 65, 66, 67, 68, | ||
19 | }; | ||
20 | |||
21 | int __init pcibios_map_platform_irq(const struct pci_dev *pdev, u8 slot, u8 pin) | 18 | int __init pcibios_map_platform_irq(const struct pci_dev *pdev, u8 slot, u8 pin) |
22 | { | 19 | { |
23 | return irq_tab[slot]; | 20 | return evt2irq(0xa20) + slot; |
24 | } | 21 | } |