From mboxrd@z Thu Jan 1 00:00:00 1970 From: sbabic at denx.de Date: Wed, 15 Jan 2020 13:47:31 +0100 (CET) Subject: [PATCH v2 18/21] mmc: fsl_esdhc: make if(CONFIG_IS_ENABLED(CLK)) an #if statement In-Reply-To: <20200110145148.82233-3-giulio.benetti@benettiengineering.com> Message-ID: <20200115124731.4EB59818FB@phobos.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > 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 Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================