]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/kernel/wandboard/imx/0010-ahci_imx-depend-on-CONFIG_MFD_SYSCON.patch
asterisk addon: update to 11.13.1
[ipfire-2.x.git] / src / patches / kernel / wandboard / imx / 0010-ahci_imx-depend-on-CONFIG_MFD_SYSCON.patch
1 From: Tejun Heo <tj@kernel.org>
2 Subject: [PATCH] ahci_imx: depend on CONFIG_MFD_SYSCON
3
4 ahci_imx makes use of regmap but the dependency wasn't specified in
5 Kconfig leading build failures if CONFIG_AHCI_IMX is enabled but
6 CONFIG_MFD_SYSCON is not. Add the Kconfig dependency.
7
8 Signed-off-by: Tejun Heo <tj@kernel.org>
9 Reported-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.