diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-06-03 21:04:59 +0900 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-06 12:37:41 +0100 |
commit | 8e3489f3b6c159079cf690d0913409e1178ccf2f (patch) | |
tree | 42266b505df9545f61d3516e0e726d0e4811197f /drivers/spi/spi-sh-hspi.c | |
parent | 3aea901d6bb43c2809077cf2b2e75d9e836941a1 (diff) | |
download | op-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.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 */ } }; |