diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-06-03 12:04:59 (GMT) |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-06 11:37:41 (GMT) |
commit | 8e3489f3b6c159079cf690d0913409e1178ccf2f (patch) | |
tree | 42266b505df9545f61d3516e0e726d0e4811197f /drivers | |
parent | 3aea901d6bb43c2809077cf2b2e75d9e836941a1 (diff) | |
download | linux-8e3489f3b6c159079cf690d0913409e1178ccf2f.tar.xz |
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')
-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 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 */ } }; |