Browse Source

gpio: octeon: Constify octeon_gpio_match table

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Axel Lin 9 năm trước cách đây
mục cha
commit
b6d055b198
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      drivers/gpio/gpio-octeon.c

+ 1 - 1
drivers/gpio/gpio-octeon.c

@@ -116,7 +116,7 @@ static int octeon_gpio_probe(struct platform_device *pdev)
 	return 0;
 }
 
-static struct of_device_id octeon_gpio_match[] = {
+static const struct of_device_id octeon_gpio_match[] = {
 	{
 		.compatible = "cavium,octeon-3860-gpio",
 	},