projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9e1528
)
spi: qup: Make of_device_id array const
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 7 May 2014 07:50:04 +0000
(16:50 +0900)
committer
Mark Brown
<broonie@linaro.org>
Wed, 7 May 2014 19:53:04 +0000
(20:53 +0100)
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>
drivers/spi/spi-qup.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-qup.c
b/drivers/spi/spi-qup.c
index b032e8885e2435b3585810f1266bca9aa3fce6a8..17c5f600100052e50d7f7bb48bf0a277c76a703c 100644
(file)
--- 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)
return 0;
}
-static struct of_device_id spi_qup_dt_match[] = {
+static
const
struct of_device_id spi_qup_dt_match[] = {
{ .compatible = "qcom,spi-qup-v2.1.1", },
{ .compatible = "qcom,spi-qup-v2.2.1", },
{ }