diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 03:50:04 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-07 15:53:04 -0400 |
commit | 113b1a071583aff4750e95f3373fac18ac319bee (patch) | |
tree | ab84aa23d97495207586b995eb6030ae18d7dd65 | |
parent | d9e15281896481df1a2566477287210c210357e3 (diff) |
spi: qup: 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>
Reviewed-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r-- | drivers/spi/spi-qup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-qup.c b/drivers/spi/spi-qup.c index b032e8885e24..17c5f6001000 100644 --- a/drivers/spi/spi-qup.c +++ b/drivers/spi/spi-qup.c | |||
@@ -749,7 +749,7 @@ static int spi_qup_remove(struct platform_device *pdev) | |||
749 | return 0; | 749 | return 0; |
750 | } | 750 | } |
751 | 751 | ||
752 | static struct of_device_id spi_qup_dt_match[] = { | 752 | static const struct of_device_id spi_qup_dt_match[] = { |
753 | { .compatible = "qcom,spi-qup-v2.1.1", }, | 753 | { .compatible = "qcom,spi-qup-v2.1.1", }, |
754 | { .compatible = "qcom,spi-qup-v2.2.1", }, | 754 | { .compatible = "qcom,spi-qup-v2.2.1", }, |
755 | { } | 755 | { } |