Skip to contentSkip to conversation

pinctrl: abx500: Add terminating entry for of_device_id table

PATCH In review Axel Lin 2 participants 2 messages Feb 17, 2013 – Mar 1, 2013 Pin control

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 pinctrl: abx500: Add terminating entry for of_device_id table

The of_device_id table is supposed to be zero-terminated.

---
 drivers/pinctrl/pinctrl-abx500.c |    1 +
 1 file changed, 1 insertion(+)
drivers/pinctrl/pinctrl-abx500.c +1 -0
index caecdd3..685808a 100644
@@ -834,6 +834,7 @@ static const struct of_device_id abx500_gpio_match[] = {
 	{ .compatible = "stericsson,ab8505-gpio", .data = (void *)PINCTRL_AB8505, },
 	{ .compatible = "stericsson,ab8540-gpio", .data = (void *)PINCTRL_AB8540, },
 	{ .compatible = "stericsson,ab9540-gpio", .data = (void *)PINCTRL_AB9540, },
+	{ }
 };
 
 static int abx500_gpio_probe(struct platform_device *pdev)
Signature · 1 line
1.7.9.5