summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-sh-hspi.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-06-03 21:04:59 +0900
committerMark Brown <broonie@linaro.org>2014-06-06 12:37:41 +0100
commit8e3489f3b6c159079cf690d0913409e1178ccf2f (patch)
tree42266b505df9545f61d3516e0e726d0e4811197f /drivers/spi/spi-sh-hspi.c
parent3aea901d6bb43c2809077cf2b2e75d9e836941a1 (diff)
downloadop-kernel-dev-8e3489f3b6c159079cf690d0913409e1178ccf2f.zip
op-kernel-dev-8e3489f3b6c159079cf690d0913409e1178ccf2f.tar.gz
spi: sh-hspi: 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: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-sh-hspi.c')
-rw-r--r--drivers/spi/spi-sh-hspi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-sh-hspi.c b/drivers/spi/spi-sh-hspi.c
index c8e795e..94b5fae 100644
--- a/drivers/spi/spi-sh-hspi.c
+++ b/drivers/spi/spi-sh-hspi.c
@@ -304,7 +304,7 @@ static int hspi_remove(struct platform_device *pdev)
return 0;
}
-static struct of_device_id hspi_of_match[] = {
+static const struct of_device_id hspi_of_match[] = {
{ .compatible = "renesas,hspi", },
{ /* sentinel */ }
};
OpenPOWER on IntegriCloud