]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ata: Fix SC1200 dependencies
authorJean Delvare <jdelvare@suse.de>
Fri, 14 Mar 2014 14:41:31 +0000 (15:41 +0100)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:17:20 +0000 (21:17 -0600)
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>
(cherry picked from commit 840aa78782f02d5d442fae9af425118ed0ce8cba)

drivers/ata/Kconfig

index 445e594619efa272a77bbc90db33830c3945b061..69ca822a1979623599510833639dc63efb86fe9e 100644 (file)
@@ -684,7 +684,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.