Skip to content

Commit

Permalink
mn10300: add pci_get_legacy_ide_irq() to <asm/pci.h>
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Mar 24, 2009
1 parent 327fa1c commit b75aa12
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/asm-mn10300/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit b75aa12

Please sign in to comment.