]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/kernel/wandboard/imx/0010-ahci_imx-depend-on-CONFIG_MFD_SYSCON.patch
OpenVPN: Added 'valid til (days)' field for N2N.
[people/pmueller/ipfire-2.x.git] / src / patches / kernel / wandboard / imx / 0010-ahci_imx-depend-on-CONFIG_MFD_SYSCON.patch
CommitLineData
2b230b77
SS
1From: Tejun Heo <tj@kernel.org>
2Subject: [PATCH] ahci_imx: depend on CONFIG_MFD_SYSCON
3
4ahci_imx makes use of regmap but the dependency wasn't specified in
5Kconfig leading build failures if CONFIG_AHCI_IMX is enabled but
6CONFIG_MFD_SYSCON is not. Add the Kconfig dependency.
7
8Signed-off-by: Tejun Heo <tj@kernel.org>
9Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
10---
11 drivers/ata/Kconfig | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14--- a/drivers/ata/Kconfig
15+++ b/drivers/ata/Kconfig
16@@ -99,7 +99,7 @@ config SATA_AHCI_PLATFORM
17
18 config AHCI_IMX
19 tristate "Freescale i.MX AHCI SATA support"
20- depends on SATA_AHCI_PLATFORM
21+ depends on SATA_AHCI_PLATFORM && MFD_SYSCON
22 help
23 This option enables support for the Freescale i.MX SoC's
24 onboard AHCI SATA.