X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-mips%2Fpci.h;h=7f0f120ca07c23b6d42e2bdee1c3081095bf4c07;hb=6b259707d53f0f25f0b24318a0774f1ae7e7e92c;hp=6c9ad8171a773a9dd3e49d44b356292167306ece;hpb=b0c4e148bd591629749d02a8fbc8d81c26d548cf;p=linux-2.6-omap-h63xx.git diff --git a/include/asm-mips/pci.h b/include/asm-mips/pci.h index 6c9ad8171a7..7f0f120ca07 100644 --- a/include/asm-mips/pci.h +++ b/include/asm-mips/pci.h @@ -6,7 +6,6 @@ #ifndef _ASM_PCI_H #define _ASM_PCI_H -#include #include #ifdef __KERNEL__ @@ -188,4 +187,10 @@ static inline void pcibios_add_platform_entries(struct pci_dev *dev) /* Do platform specific device initialization at pci_enable_device() time */ extern int pcibios_plat_dev_init(struct pci_dev *dev); +/* Chances are this interrupt is wired PC-style ... */ +static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) +{ + return channel ? 15 : 14; +} + #endif /* _ASM_PCI_H */