1 From: Tejun Heo <tj@kernel.org>
2 Subject: [PATCH] ahci_imx: depend on CONFIG_MFD_SYSCON
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.
8 Signed-off-by: Tejun Heo <tj@kernel.org>
9 Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
11 drivers/ata/Kconfig | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
14 --- a/drivers/ata/Kconfig
15 +++ b/drivers/ata/Kconfig
16 @@ -99,7 +99,7 @@ config SATA_AHCI_PLATFORM
19 tristate "Freescale i.MX AHCI SATA support"
20 - depends on SATA_AHCI_PLATFORM
21 + depends on SATA_AHCI_PLATFORM && MFD_SYSCON
23 This option enables support for the Freescale i.MX SoC's