[PATCH] gpio: clps711x: clps711x_gpio_dt_ids: add missing sentinel entry

Antony Pavlov antonynpavlov at gmail.com
Wed Aug 2 00:03:56 PDT 2017


Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
Cc: Alexander Shiyan <shc_work at mail.ru>
---
 drivers/gpio/gpio-clps711x.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpio/gpio-clps711x.c b/drivers/gpio/gpio-clps711x.c
index d71c606690..e97f468e82 100644
--- a/drivers/gpio/gpio-clps711x.c
+++ b/drivers/gpio/gpio-clps711x.c
@@ -74,6 +74,9 @@ out_err:
 
 static struct of_device_id __maybe_unused clps711x_gpio_dt_ids[] = {
 	{ .compatible = "cirrus,clps711x-gpio", },
+	{
+		/* sentinel */
+	}
 };
 
 static struct driver_d clps711x_gpio_driver = {
-- 
2.13.3




More information about the barebox mailing list