diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-07-25 15:55:52 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-07-26 10:23:26 -0400 |
commit | dd438e77f01d024919a8ae81d0cf2e4c6cda79cc (patch) | |
tree | cc22d5251b135c7cb69820a25def6738e7fe94d6 | |
parent | 0c65f459ce6c8bd873a61b3ae1e57858ab1debf3 (diff) |
[ARM] pci: provide dummy pci_get_legacy_ide_irq()
This fixes footbridge_defconfig:
drivers/pnp/resource.c: In function 'pci_dev_uses_irq':
drivers/pnp/resource.c:317: error: implicit declaration of function 'pci_get_legacy_ide_irq'
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | include/asm-arm/pci.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-arm/pci.h b/include/asm-arm/pci.h index 75feb1574a69..2d84792f2e12 100644 --- a/include/asm-arm/pci.h +++ b/include/asm-arm/pci.h | |||
@@ -78,6 +78,14 @@ pcibios_select_root(struct pci_dev *pdev, struct resource *res) | |||
78 | return root; | 78 | return root; |
79 | } | 79 | } |
80 | 80 | ||
81 | /* | ||
82 | * Dummy implementation; always return 0. | ||
83 | */ | ||
84 | static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) | ||
85 | { | ||
86 | return 0; | ||
87 | } | ||
88 | |||
81 | #endif /* __KERNEL__ */ | 89 | #endif /* __KERNEL__ */ |
82 | 90 | ||
83 | #endif | 91 | #endif |