Skip to contentSkip to conversation

auxdisplay: img-ascii-lcd: Add terminate entry for of_device_id tables

PATCH New Wei Yongjun 1 participant 1 message Oct 10, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 auxdisplay: img-ascii-lcd: Add terminate entry for of_device_id tables

From: Wei Yongjun <[email protected]>

Make sure of_device_id tables are NULL terminated.

---
 drivers/auxdisplay/img-ascii-lcd.c | 1 +
 1 file changed, 1 insertion(+)
drivers/auxdisplay/img-ascii-lcd.c +1 -0
index bf43b5d..e37a4b0 100644
@@ -218,6 +218,7 @@ static const struct of_device_id img_ascii_lcd_matches[] = {
 	{ .compatible = "img,boston-lcd", .data = &boston_config },
 	{ .compatible = "mti,malta-lcd", .data = &malta_config },
 	{ .compatible = "mti,sead3-lcd", .data = &sead3_config },
+	{ },
 };
 
 /**