diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-06-03 08:01:40 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-06 07:37:41 -0400 |
commit | f7f994a4c5f776823b527db5a9d86f27df573e76 (patch) | |
tree | 537506283b36df3166285bdc44a84e4fd6c0af97 | |
parent | b8fa0abd47f3f2fa47c1b2b06182c422d0c2350d (diff) |
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: Jingoo Han <jg1.han@samsung.com>
Acked-by: Harini Katakam <harinik@xilinx.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r-- | drivers/spi/spi-cadence.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-cadence.c b/drivers/spi/spi-cadence.c index bb758978465d..98b763b705d7 100644 --- a/drivers/spi/spi-cadence.c +++ b/drivers/spi/spi-cadence.c | |||
@@ -647,7 +647,7 @@ static int __maybe_unused cdns_spi_resume(struct device *dev) | |||
647 | static SIMPLE_DEV_PM_OPS(cdns_spi_dev_pm_ops, cdns_spi_suspend, | 647 | static SIMPLE_DEV_PM_OPS(cdns_spi_dev_pm_ops, cdns_spi_suspend, |
648 | cdns_spi_resume); | 648 | cdns_spi_resume); |
649 | 649 | ||
650 | static struct of_device_id cdns_spi_of_match[] = { | 650 | static const struct of_device_id cdns_spi_of_match[] = { |
651 | { .compatible = "xlnx,zynq-spi-r1p6" }, | 651 | { .compatible = "xlnx,zynq-spi-r1p6" }, |
652 | { .compatible = "cdns,spi-r1p6" }, | 652 | { .compatible = "cdns,spi-r1p6" }, |
653 | { /* end of table */ } | 653 | { /* end of table */ } |