Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jingoo Han and committed by
Linus Walleij
9992bc95 30373b63

+1 -1
+1 -1
drivers/gpio/gpio-xilinx.c
··· 289 289 return 0; 290 290 } 291 291 292 - static struct of_device_id xgpio_of_match[] = { 292 + static const struct of_device_id xgpio_of_match[] = { 293 293 { .compatible = "xlnx,xps-gpio-1.00.a", }, 294 294 { /* end of list */ }, 295 295 };