[2.6 patch] drivers/pnp/pnpbios/rsparser.c: fix compile error wit PCI=n

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>

--- 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux