mmc: fsl_esdhc_imx: fix config check issue when building in SPL
authorYe Li <ye.li@nxp.com>
Thu, 11 Jul 2019 03:29:02 +0000 (03:29 +0000)
committerPeng Fan <peng.fan@nxp.com>
Mon, 15 Jul 2019 02:30:08 +0000 (10:30 +0800)
commit8277171663084e20c0eca7c0b9681019f1a2a353
tree856732dc1025475216156e764ab1edce26cd543b
parenta897269c932999a5c028654489ad68baa6806fdb
mmc: fsl_esdhc_imx: fix config check issue when building in SPL

Should use CONFIG_IS_ENABLED not IS_ENABLED for clock and regulator drivers,
CONFIG_IS_ENABLED will check the CONFIG_SPL_CLK and CONFIG_SPL_DM_REGULATOR
when building SPL.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/mmc/fsl_esdhc_imx.c