Linux ATA/IDE development
 help / color / mirror / Atom feed
* [PATCH] ata: fix i.MX AHCI driver dependencies
@ 2014-04-08  9:06 Jean Delvare
  2014-04-08 12:37 ` Tejun Heo
  0 siblings, 1 reply; 2+ messages in thread
From: Jean Delvare @ 2014-04-08  9:06 UTC (permalink / raw)
  To: linux-ide; +Cc: Tejun Heo, Richard Zhu

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>
---
 drivers/ata/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-3.15-rc0.orig/drivers/ata/Kconfig	2014-04-07 10:23:04.083158535 +0200
+++ linux-3.15-rc0/drivers/ata/Kconfig	2014-04-08 10:57:25.301066036 +0200
@@ -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.


-- 
Jean Delvare
SUSE L3 Support

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-08 12:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-08  9:06 [PATCH] ata: fix i.MX AHCI driver dependencies Jean Delvare
2014-04-08 12:37 ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox