Skip to contentSkip to conversation

ata: fix i.MX AHCI driver dependencies

PATCH Applied Jean Delvare 2 participants 2 messages Apr 8, 2014 libata

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ata: fix i.MX AHCI driver dependencies

The ahci_imx driver is only needed on Freescale i.MX platforms so don't let it be built on other platforms, except for build test purpose.

Cc Tejun Heo <[email protected]>
Cc Richard Zhu <[email protected]>
---
 drivers/ata/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ata/Kconfig +1 -1
@@ -116,7 +116,7 @@ config AHCI_ST
 
 config AHCI_IMX
 	tristate "Freescale i.MX AHCI SATA support"
-	depends on MFD_SYSCON
+	depends on MFD_SYSCON && (ARCH_MXC || COMPILE_TEST)
 	help
 	  This option enables support for the Freescale i.MX SoC's
 	  onboard AHCI SATA.
Signature · 2 lines
Jean Delvare
SUSE L3 Support