imx6: backport ahci support
[openwrt.git] / target / linux / imx6 / patches-3.10 / 0008-ahci_imx-depend-on-CONFIG_MFD_SYSCON.patch
1 From 867974fc09f93bdd7f98d46ac3733934486bbf4a Mon Sep 17 00:00:00 2001
2 From: Tejun Heo <tj@kernel.org>
3 Date: Fri, 26 Jul 2013 08:57:56 -0400
4 Subject: [PATCH] ahci_imx: depend on CONFIG_MFD_SYSCON
5
6 ahci_imx makes use of regmap but the dependency wasn't specified in
7 Kconfig leading build failures if CONFIG_AHCI_IMX is enabled but
8 CONFIG_MFD_SYSCON is not.  Add the Kconfig dependency.
9
10 Signed-off-by: Tejun Heo <tj@kernel.org>
11 Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
12 ---
13  drivers/ata/Kconfig | 2 +-
14  1 file changed, 1 insertion(+), 1 deletion(-)
15
16 --- a/drivers/ata/Kconfig
17 +++ b/drivers/ata/Kconfig
18 @@ -99,7 +99,7 @@ config SATA_AHCI_PLATFORM
19  
20  config AHCI_IMX
21         tristate "Freescale i.MX AHCI SATA support"
22 -       depends on SATA_AHCI_PLATFORM
23 +       depends on SATA_AHCI_PLATFORM && MFD_SYSCON
24         help
25           This option enables support for the Freescale i.MX SoC's
26           onboard AHCI SATA.