diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 18:08:20 +0900 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-05-09 11:03:03 +0200 |
commit | 9992bc95e1dcc4f2395fd5511683eaeb079facf7 (patch) | |
tree | 172fca58e23fb12c109b47bc49f26a129eea5bae /drivers/gpio/gpio-xilinx.c | |
parent | 30373b639aa46d9f28f6b030cab9c0a54b9705d5 (diff) | |
download | linux-9992bc95e1dcc4f2395fd5511683eaeb079facf7.tar.gz linux-9992bc95e1dcc4f2395fd5511683eaeb079facf7.tar.bz2 linux-9992bc95e1dcc4f2395fd5511683eaeb079facf7.zip |
gpio: xilinx: 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>
Reviewed-by: Michal Simek <monstr@monstr.eu>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-xilinx.c')
-rw-r--r-- | drivers/gpio/gpio-xilinx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-xilinx.c b/drivers/gpio/gpio-xilinx.c index 792a05ad4649..12481867daf1 100644 --- a/drivers/gpio/gpio-xilinx.c +++ b/drivers/gpio/gpio-xilinx.c @@ -289,7 +289,7 @@ static int xgpio_of_probe(struct device_node *np) return 0; } -static struct of_device_id xgpio_of_match[] = { +static const struct of_device_id xgpio_of_match[] = { { .compatible = "xlnx,xps-gpio-1.00.a", }, { /* end of list */ }, }; |