commit | dbdbc63d249a017631e36f47490d5f37e7fc5746 | [log] [tgz] |
---|---|---|
author | Giulio Benetti <giulio.benetti@benettiengineering.com> | Fri Jan 10 15:51:45 2020 +0100 |
committer | Stefano Babic <sbabic@denx.de> | Tue Jan 14 22:54:00 2020 +0100 |
tree | 31ffa976694d099ef8423f25ba5a2b5b39ad0eee | |
parent | c51393077c407637486917aeaa8880a6f1960f39 [diff] |
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>