[PATCH v2 16/16] imx28: avoid num_cs and spi_max_frequency build errors
sbabic at denx.de
sbabic at denx.de
Mon Oct 24 15:55:55 CEST 2022
> From: Marcel Ziswiler <marcel.ziswiler at toradex.com>
> Avoid the following build errors after the device tree sync:
> drivers/spi/mxs_spi.c: In function ‘mxs_spi_probe’:
> drivers/spi/mxs_spi.c:327:25: error: ‘struct dtd_fsl_imx23_spi’ has no
> member named ‘spi_max_frequency’
> 327 | priv->max_freq = dtplat->spi_max_frequency;
> | ^~
> drivers/spi/mxs_spi.c:328:23: error: ‘struct dtd_fsl_imx23_spi’ has no
> member named ‘num_cs’
> 328 | plat->num_cs = dtplat->num_cs;
> | ^~
> Signed-off-by: Marcel Ziswiler <marcel.ziswiler at toradex.com>
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
=====================================================================
More information about the U-Boot
mailing list