[2.6 patch] AGP_AMD64 must depend on PCI

From: Adrian Bunk
Date: Wed Jun 28 2006 - 12:55:39 EST


This patch fixes the following compile error:

<-- snip -->

...
CC arch/i386/kernel/../../x86_64/kernel/k8.o
arch/i386/kernel/../../x86_64/kernel/k8.c: In function ânext_k8_northbridgeâ:
arch/i386/kernel/../../x86_64/kernel/k8.c:34: error: implicit declaration of function âpci_match_idâ

<-- snip -->

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.17-mm3-full/drivers/char/agp/Kconfig.old 2006-06-28 12:56:20.000000000 +0200
+++ linux-2.6.17-mm3-full/drivers/char/agp/Kconfig 2006-06-28 12:56:55.000000000 +0200
@@ -56,7 +56,7 @@

config AGP_AMD64
tristate "AMD Opteron/Athlon64 on-CPU GART support" if !IOMMU
- depends on AGP && X86
+ depends on AGP && PCI && X86
default y if IOMMU
help
This option gives you AGP support for the GLX component of

-
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/