Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f7f994a4 authored by Jingoo Han's avatar Jingoo Han Committed by Mark Brown
Browse files

spi: cadence: Make of_device_id array const



Make of_device_id array const, because all OF functions handle
it as const.

Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Acked-by: default avatarHarini Katakam <harinik@xilinx.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent b8fa0abd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -647,7 +647,7 @@ static int __maybe_unused cdns_spi_resume(struct device *dev)
static SIMPLE_DEV_PM_OPS(cdns_spi_dev_pm_ops, cdns_spi_suspend,
			 cdns_spi_resume);

static struct of_device_id cdns_spi_of_match[] = {
static const struct of_device_id cdns_spi_of_match[] = {
	{ .compatible = "xlnx,zynq-spi-r1p6" },
	{ .compatible = "cdns,spi-r1p6" },
	{ /* end of table */ }