diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-06-03 08:04:59 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-06 07:37:41 -0400 |
commit | 8e3489f3b6c159079cf690d0913409e1178ccf2f (patch) | |
tree | 42266b505df9545f61d3516e0e726d0e4811197f /drivers/spi/spi-sh-hspi.c | |
parent | 3aea901d6bb43c2809077cf2b2e75d9e836941a1 (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-sh-hspi.c b/drivers/spi/spi-sh-hspi.c index c8e795ef2e13..94b5faed21e2 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) | |||
304 | return 0; | 304 | return 0; |
305 | } | 305 | } |
306 | 306 | ||
307 | static struct of_device_id hspi_of_match[] = { | 307 | static const struct of_device_id hspi_of_match[] = { |
308 | { .compatible = "renesas,hspi", }, | 308 | { .compatible = "renesas,hspi", }, |
309 | { /* sentinel */ } | 309 | { /* sentinel */ } |
310 | }; | 310 | }; |