|
@@ -1114,7 +1114,7 @@ static int at91_pinctrl_parse_functions(struct device_node *np,
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-static struct of_device_id at91_pinctrl_of_match[] = {
|
|
|
+static const struct of_device_id at91_pinctrl_of_match[] = {
|
|
|
{ .compatible = "atmel,sama5d3-pinctrl", .data = &sama5d3_ops },
|
|
|
{ .compatible = "atmel,at91sam9x5-pinctrl", .data = &at91sam9x5_ops },
|
|
|
{ .compatible = "atmel,at91rm9200-pinctrl", .data = &at91rm9200_ops },
|
|
@@ -1693,7 +1693,7 @@ static struct gpio_chip at91_gpio_template = {
|
|
|
.ngpio = MAX_NB_GPIO_PER_BANK,
|
|
|
};
|
|
|
|
|
|
-static struct of_device_id at91_gpio_of_match[] = {
|
|
|
+static const struct of_device_id at91_gpio_of_match[] = {
|
|
|
{ .compatible = "atmel,at91sam9x5-gpio", .data = &at91sam9x5_ops, },
|
|
|
{ .compatible = "atmel,at91rm9200-gpio", .data = &at91rm9200_ops },
|
|
|
{ /* sentinel */ }
|