[PATCH] Isapnp warning

Geert Uytterhoeven (geert@linux-m68k.org)
Mon, 9 Jun 2003 12:37:47 +0200


Isapnp: Kill warning if CONFIG_PCI is not set

--- linux-2.4.x/drivers/pnp/isapnp.c Sat Aug 17 14:10:39 2002
+++ linux-m68k-2.4.x/drivers/pnp/isapnp.c Fri Jun 6 12:27:42 2003
@@ -510,7 +510,9 @@
int dependent, int size)
{
unsigned char tmp[3];
+#ifdef CONFIG_PCI
int i;
+#endif
struct isapnp_irq *irq, *ptr;

isapnp_peek(tmp, size);

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/