commit | a820bedc45cb4f56561483f6c93249746d502493 | [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 | cd647fc4fb8e6018089d0e0a3dfa71bd6beffde4 [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>