diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-05-24 18:08:54 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-05-24 18:08:54 -0400 |
commit | f949c0edd84101bfd30b3e7389c1a12b067e561d (patch) | |
tree | ba39033c089a66a8d4ac058f3f03a8ed2a488f91 /arch/arm/mach-shark | |
parent | 119c4b1257e44d9ec981465ccb80aba427a96dda (diff) | |
parent | 92d2040d78f662f634efce7a5106bbed70b8708b (diff) |
Merge branch 'master' into devel
Diffstat (limited to 'arch/arm/mach-shark')
-rw-r--r-- | arch/arm/mach-shark/pci.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/arch/arm/mach-shark/pci.c b/arch/arm/mach-shark/pci.c index 37a7112d4117..89d175ce74d2 100644 --- a/arch/arm/mach-shark/pci.c +++ b/arch/arm/mach-shark/pci.c | |||
@@ -16,16 +16,19 @@ | |||
16 | static int __init shark_map_irq(struct pci_dev *dev, u8 slot, u8 pin) | 16 | static int __init shark_map_irq(struct pci_dev *dev, u8 slot, u8 pin) |
17 | { | 17 | { |
18 | if (dev->bus->number == 0) | 18 | if (dev->bus->number == 0) |
19 | if (dev->devfn == 0) return 255; | 19 | if (dev->devfn == 0) |
20 | else return 11; | 20 | return 255; |
21 | else return 255; | 21 | else |
22 | return 11; | ||
23 | else | ||
24 | return 255; | ||
22 | } | 25 | } |
23 | 26 | ||
24 | extern void __init via82c505_preinit(void); | 27 | extern void __init via82c505_preinit(void); |
25 | 28 | ||
26 | static struct hw_pci shark_pci __initdata = { | 29 | static struct hw_pci shark_pci __initdata = { |
27 | .setup = via82c505_setup, | 30 | .setup = via82c505_setup, |
28 | .swizzle = pci_std_swizzle, | 31 | .swizzle = pci_std_swizzle, |
29 | .map_irq = shark_map_irq, | 32 | .map_irq = shark_map_irq, |
30 | .nr_controllers = 1, | 33 | .nr_controllers = 1, |
31 | .scan = via82c505_scan_bus, | 34 | .scan = via82c505_scan_bus, |