diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-24 18:22:48 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-24 18:22:48 -0400 |
commit | b75aa122edd91599e0cf2ae57a5de1e84d9895c2 (patch) | |
tree | bc46c09c94168dded966ac41f745937928417ef8 | |
parent | 327fa1c29466b8fe471a91fc11e9c6171163c81a (diff) |
mn10300: add pci_get_legacy_ide_irq() to <asm/pci.h>
Add missing pci_get_legacy_ide_irq() implementation
before it becomes required by core IDE PCI code.
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
-rw-r--r-- | include/asm-mn10300/pci.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-mn10300/pci.h b/include/asm-mn10300/pci.h index cd9cc5c89cea..0517b45313d8 100644 --- a/include/asm-mn10300/pci.h +++ b/include/asm-mn10300/pci.h | |||
@@ -121,4 +121,9 @@ pcibios_select_root(struct pci_dev *pdev, struct resource *res) | |||
121 | 121 | ||
122 | #define pcibios_scan_all_fns(a, b) 0 | 122 | #define pcibios_scan_all_fns(a, b) 0 |
123 | 123 | ||
124 | static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) | ||
125 | { | ||
126 | return channel ? 15 : 14; | ||
127 | } | ||
128 | |||
124 | #endif /* _ASM_PCI_H */ | 129 | #endif /* _ASM_PCI_H */ |