mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-14 14:42:34 -04:00
spi: spi-fsl-lpspi: Constify devtype datas
Add const for all devtype_data. Signed-off-by: James Clark <james.clark@linaro.org> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20250828-james-nxp-lpspi-v2-6-6262b9aa9be4@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
@@ -135,11 +135,11 @@ struct fsl_lpspi_data {
|
||||
* ERR051608 fixed or not:
|
||||
* https://www.nxp.com/docs/en/errata/i.MX93_1P87f.pdf
|
||||
*/
|
||||
static struct fsl_lpspi_devtype_data imx93_lpspi_devtype_data = {
|
||||
static const struct fsl_lpspi_devtype_data imx93_lpspi_devtype_data = {
|
||||
.prescale_max = 1,
|
||||
};
|
||||
|
||||
static struct fsl_lpspi_devtype_data imx7ulp_lpspi_devtype_data = {
|
||||
static const struct fsl_lpspi_devtype_data imx7ulp_lpspi_devtype_data = {
|
||||
.prescale_max = 7,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user