Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <jdelvare@suse.de>
Cc: Tejun Heo <tj@kernel.org>
Cc: Richard Zhu <r65037@freescale.com>
Signed-off-by: Tejun Heo <tj@kernel.org>

authored by

Jean Delvare and committed by
Tejun Heo
f5f85ee0 27aa64b9

+1 -1
+1 -1
drivers/ata/Kconfig
··· 116 116 117 117 config AHCI_IMX 118 118 tristate "Freescale i.MX AHCI SATA support" 119 - depends on MFD_SYSCON 119 + depends on MFD_SYSCON && (ARCH_MXC || COMPILE_TEST) 120 120 help 121 121 This option enables support for the Freescale i.MX SoC's 122 122 onboard AHCI SATA.