mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 13:22:23 +00:00
[PATCH] drivers/pnp/pnpbios/rsparser.c: fix compile error with PCI=n
drivers/pnp/pnpbios/rsparser.c: In function 'pnpbios_parse_allocated_irqresource': drivers/pnp/pnpbios/rsparser.c:67: error: too many arguments to function 'pcibios_penalize_isa_irq' Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
ab6862e6da
commit
9a14d4c898
@ -11,7 +11,7 @@
|
||||
#ifdef CONFIG_PCI
|
||||
#include <linux/pci.h>
|
||||
#else
|
||||
inline void pcibios_penalize_isa_irq(int irq) {}
|
||||
inline void pcibios_penalize_isa_irq(int irq, int active) {}
|
||||
#endif /* CONFIG_PCI */
|
||||
|
||||
#include "pnpbios.h"
|
||||
|
Loading…
Reference in New Issue
Block a user