diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 16:48:59 +0900 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-07 20:53:04 +0100 |
commit | d9e15281896481df1a2566477287210c210357e3 (patch) | |
tree | a45c67ea07e2d6945ef6196e7968b731f57babfb /drivers/spi | |
parent | 790d190257b339bba9ff821d7d49f4567146f4ad (diff) | |
download | blackbird-op-linux-d9e15281896481df1a2566477287210c210357e3.tar.gz blackbird-op-linux-d9e15281896481df1a2566477287210c210357e3.zip |
spi: spi-gpio: 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>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi-gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-gpio.c b/drivers/spi/spi-gpio.c index 09823076df88..9f595535cf27 100644 --- a/drivers/spi/spi-gpio.c +++ b/drivers/spi/spi-gpio.c @@ -340,7 +340,7 @@ done: } #ifdef CONFIG_OF -static struct of_device_id spi_gpio_dt_ids[] = { +static const struct of_device_id spi_gpio_dt_ids[] = { { .compatible = "spi-gpio" }, {} }; |