Skip to content

Commit

Permalink
ata: fix i.MX AHCI driver dependencies
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jean Delvare authored and Tejun Heo committed Apr 8, 2014
1 parent 27aa64b commit f5f85ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ata/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f5f85ee

Please sign in to comment.