mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 11:19:37 +00:00
[MIPS] Fix build of several IDE drivers by providing pci_get_legacy_ide_irq
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
3263263f70
commit
5b1d221e62
1 changed files with 6 additions and 0 deletions
|
@ -187,4 +187,10 @@ static inline void pcibios_add_platform_entries(struct pci_dev *dev)
|
||||||
/* Do platform specific device initialization at pci_enable_device() time */
|
/* Do platform specific device initialization at pci_enable_device() time */
|
||||||
extern int pcibios_plat_dev_init(struct pci_dev *dev);
|
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 */
|
#endif /* _ASM_PCI_H */
|
||||||
|
|
Loading…
Reference in a new issue