]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ata: Fix SC1200 dependencies
authorJean Delvare <jdelvare@suse.de>
Fri, 14 Mar 2014 14:41:31 +0000 (15:41 +0100)
committerTejun Heo <tj@kernel.org>
Fri, 14 Mar 2014 14:42:50 +0000 (10:42 -0400)
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>
drivers/ata/Kconfig

index 4c338b27cb89911859cc8fa20f73d1b9d5e1aa96..e4ac81989a6c3e4c452f8e60c6d219be50e93c5e 100644 (file)
@@ -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.