projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c65f45
)
[ARM] pci: provide dummy pci_get_legacy_ide_irq()
author
Russell King
<rmk@dyn-67.arm.linux.org.uk>
Fri, 25 Jul 2008 19:55:52 +0000
(20:55 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Sat, 26 Jul 2008 14:23:26 +0000
(15:23 +0100)
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: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/pci.h
patch
|
blob
|
history
diff --git
a/include/asm-arm/pci.h
b/include/asm-arm/pci.h
index 75feb1574a69050845f270f370566ee2b51d1b7b..2d84792f2e12d094095fd2b2b29f1a6cee2c2e3c 100644
(file)
--- a/
include/asm-arm/pci.h
+++ b/
include/asm-arm/pci.h
@@
-78,6
+78,14
@@
pcibios_select_root(struct pci_dev *pdev, struct resource *res)
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