[PATCH v2 16/16] imx28: avoid num_cs and spi_max_frequency build errors

2022-10-24 Thread sbabic
> From: Marcel Ziswiler > 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 =

[PATCH v2 16/16] imx28: avoid num_cs and spi_max_frequency build errors

2022-10-22 Thread Marcel Ziswiler
From: Marcel Ziswiler 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;