From: Jean Delvare <jdelvare@suse.de>
Date: Fri, 14 Mar 2014 14:41:31 +0000 (+0100)
Subject: ata: Fix SC1200 dependencies
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=840aa78782f02d5d442fae9af425118ed0ce8cba;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

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

diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index 4c338b27cb89..e4ac81989a6c 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -683,7 +683,7 @@ config PATA_RDC
 
 config PATA_SC1200
 	tristate "SC1200 PATA support"
-	depends on PCI
+	depends on PCI && (X86_32 || COMPILE_TEST)
 	help
 	  This option enables support for the NatSemi/AMD SC1200 SoC
 	  companion chip used with the Geode processor family.