From: Bartlomiej Zolnierkiewicz Date: Tue, 24 Mar 2009 22:22:48 +0000 (+0100) Subject: mn10300: add pci_get_legacy_ide_irq() to X-Git-Tag: v2.6.30-rc1~672^2~24 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=b75aa122edd91599e0cf2ae57a5de1e84d9895c2;p=users%2Fjedix%2Flinux-maple.git mn10300: add pci_get_legacy_ide_irq() to Add missing pci_get_legacy_ide_irq() implementation before it becomes required by core IDE PCI code. Cc: David Howells Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/include/asm-mn10300/pci.h b/include/asm-mn10300/pci.h index cd9cc5c89cea9..0517b45313d86 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) #define pcibios_scan_all_fns(a, b) 0 +static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) +{ + return channel ? 15 : 14; +} + #endif /* _ASM_PCI_H */