[2.6 patch] drivers/pnp/pnpbios/rsparser.c: fix compile error wit PCI=n
From: Adrian Bunk
Date: Tue Jul 19 2005 - 14:44:04 EST
This patch fixes the following compile error with CONFIG_PCI=n:
<-- snip -->
...
CC drivers/pnp/pnpbios/rsparser.o
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'
make[3]: *** [drivers/pnp/pnpbios/rsparser.o] Error 1
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>
--- linux-2.6.13-rc3-mm1-full/drivers/pnp/pnpbios/rsparser.c.old 2005-07-19 20:26:45.000000000 +0200
+++ linux-2.6.13-rc3-mm1-full/drivers/pnp/pnpbios/rsparser.c 2005-07-19 20:36:03.000000000 +0200
@@ -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"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/