浏览代码

ata: Fix SC1200 dependencies

The SC1200 is a SoC based on the Geode GX1 32-bit x86 processor, so
its drivers are only needed on this architecture, except for build
testing purpose.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
Jean Delvare 11 年之前
父节点
当前提交
840aa78782
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/ata/Kconfig

+ 1 - 1
drivers/ata/Kconfig

@@ -683,7 +683,7 @@ config PATA_RDC
 
 
 config PATA_SC1200
 config PATA_SC1200
 	tristate "SC1200 PATA support"
 	tristate "SC1200 PATA support"
-	depends on PCI
+	depends on PCI && (X86_32 || COMPILE_TEST)
 	help
 	help
 	  This option enables support for the NatSemi/AMD SC1200 SoC
 	  This option enables support for the NatSemi/AMD SC1200 SoC
 	  companion chip used with the Geode processor family.
 	  companion chip used with the Geode processor family.