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

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
......@@ -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 */ }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment