浏览代码

[AGPGART] Make AGP depend on PCI

Fixes possible compile error in amd64 with pci=n
pointed out by Adrian Bunk.

Signed-off-by: Dave Jones <davej@redhat.com>
Dave Jones 19 年之前
父节点
当前提交
adf8a28715
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/char/agp/Kconfig

+ 1 - 0
drivers/char/agp/Kconfig

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