Forráskód Böngészése

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 éve
szülő
commit
840aa78782
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      drivers/ata/Kconfig

+ 1 - 1
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.