Skip to content

Commit 867974f

Browse files
committed
ahci_imx: depend on CONFIG_MFD_SYSCON
ahci_imx makes use of regmap but the dependency wasn't specified in Kconfig leading build failures if CONFIG_AHCI_IMX is enabled but CONFIG_MFD_SYSCON is not. Add the Kconfig dependency. Signed-off-by: Tejun Heo <[email protected]> Reported-by: Stephen Rothwell <[email protected]>
1 parent 9e54eae commit 867974f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/ata/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ config SATA_AHCI_PLATFORM
9999

100100
config AHCI_IMX
101101
tristate "Freescale i.MX AHCI SATA support"
102-
depends on SATA_AHCI_PLATFORM
102+
depends on SATA_AHCI_PLATFORM && MFD_SYSCON
103103
help
104104
This option enables support for the Freescale i.MX SoC's
105105
onboard AHCI SATA.

0 commit comments

Comments
 (0)