]> err.no Git - linux-2.6/commitdiff
[AGPGART] Make AGP depend on PCI
authorDave Jones <davej@redhat.com>
Wed, 28 Jun 2006 17:38:43 +0000 (13:38 -0400)
committerDave Jones <davej@redhat.com>
Wed, 28 Jun 2006 17:38:43 +0000 (13:38 -0400)
Fixes possible compile error in amd64 with pci=n
pointed out by Adrian Bunk.

Signed-off-by: Dave Jones <davej@redhat.com>
drivers/char/agp/Kconfig

index 7c88c060a9e6b3ab908660b6676aef4423488a35..3dbbb9544ae8c7a80c9c710b3781d6ace14b9169 100644 (file)
@@ -1,6 +1,7 @@
 config AGP
        tristate "/dev/agpgart (AGP Support)" if !GART_IOMMU
        depends on ALPHA || IA64 || PPC || X86
+       depends on PCI
        default y if GART_IOMMU
        ---help---
          AGP (Accelerated Graphics Port) is a bus system mainly used to