[PATCH] Isapnp warning

From: Geert Uytterhoeven (geert@linux-m68k.org)
Date: Sun Jun 15 2003 - 14:10:32 EST

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;
         struct isapnp_irq *irq, *ptr;
         isapnp_peek(tmp, size);



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/

This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:43 EST