Commit dd438e77 authored by Russell King's avatar Russell King Committed by Russell King

[ARM] pci: provide dummy pci_get_legacy_ide_irq()

This fixes footbridge_defconfig:

drivers/pnp/resource.c: In function 'pci_dev_uses_irq':
drivers/pnp/resource.c:317: error: implicit declaration of function 'pci_get_legacy_ide_irq'
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 0c65f459
...@@ -78,6 +78,14 @@ pcibios_select_root(struct pci_dev *pdev, struct resource *res) ...@@ -78,6 +78,14 @@ pcibios_select_root(struct pci_dev *pdev, struct resource *res)
return root; return root;
} }
/*
* Dummy implementation; always return 0.
*/
static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel)
{
return 0;
}
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment