diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 09:09:01 (GMT) |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-05-09 09:04:08 (GMT) |
commit | a49f2e748de7b163c9e5099edf5f6f9f6fc70dbb (patch) | |
tree | 1e32337b1be0cd1d06ca16b649d0b8378bb08e3c /drivers/gpio/gpio-zevio.c | |
parent | 9992bc95e1dcc4f2395fd5511683eaeb079facf7 (diff) | |
download | linux-a49f2e748de7b163c9e5099edf5f6f9f6fc70dbb.tar.xz |
gpio: zevio: 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: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-zevio.c')
-rw-r--r-- | drivers/gpio/gpio-zevio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-zevio.c b/drivers/gpio/gpio-zevio.c index 4c173ad..54e54e4 100644 --- a/drivers/gpio/gpio-zevio.c +++ b/drivers/gpio/gpio-zevio.c @@ -202,7 +202,7 @@ static int zevio_gpio_probe(struct platform_device *pdev) return 0; } -static struct of_device_id zevio_gpio_of_match[] = { +static const struct of_device_id zevio_gpio_of_match[] = { { .compatible = "lsi,zevio-gpio", }, { }, }; |