]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: fsl_esdhc: make if(CONFIG_IS_ENABLED(CLK)) an #if statement
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Fri, 10 Jan 2020 14:51:45 +0000 (15:51 +0100)
committerStefano Babic <sbabic@denx.de>
Tue, 14 Jan 2020 21:54:00 +0000 (22:54 +0100)
commita820bedc45cb4f56561483f6c93249746d502493
tree31ffa976694d099ef8423f25ba5a2b5b39ad0eee
parentcd647fc4fb8e6018089d0e0a3dfa71bd6beffde4
mmc: fsl_esdhc: make if(CONFIG_IS_ENABLED(CLK)) an #if statement

Not all architectures(i.e. i.MXRT) support mxc_get_clock() and use DM_CLK
instead. So building could result in failure due to missing
mxc_get_clock().

Make if(CONFIG_IS_ENABLED(CLK)) an #if statement.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
drivers/mmc/fsl_esdhc_imx.c