From: Jean Delvare Date: Tue, 8 Apr 2014 09:06:26 +0000 (+0200) Subject: ata: fix i.MX AHCI driver dependencies X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f5f85ee065f2e243f4165d7dd7d1a4a95daa1801;p=openwrt%2Fstaging%2Fblogic.git 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. Signed-off-by: Jean Delvare Cc: Tejun Heo Cc: Richard Zhu Signed-off-by: Tejun Heo --- diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index 2e4da3bc47fc..c2706047337f 100644 --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig @@ -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.