[PATCH] Fix compile of drivers/pci/pci.c in 2.4.9-pre2

Tom Rini (trini@kernel.crashing.org)
Mon, 13 Aug 2001 08:31:00 -0700


Hello. 2.4.9-pre2 introduced the mandatory PM transition delays for PCI
devices. However, it currently doesn't compile, at least on PPC, since
drivers/pci/pci.c doesn't include <asm/delay.h> to get the definition of
udelay. Please apply this to the next release. Thanks.

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

===== drivers/pci/pci.c 1.17 vs edited ===== --- 1.17/drivers/pci/pci.c Sun Aug 12 23:55:22 2001 +++ edited/drivers/pci/pci.c Mon Aug 13 08:25:35 2001 @@ -25,6 +25,7 @@ #include <asm/page.h> #include <asm/dma.h> /* isa_dma_bridge_buggy */ +#include <asm/delay.h> /* for udelay */ #undef DEBUG - 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/