[PATCH 1/2] i2c: mediatek: add missing empty entry at end of mkt_i2c_ids[]

Martin Schiller ms at dev.tdt.de
Wed Apr 16 08:29:18 CEST 2025


This adds the missing empty entry at the end of mtk_i2c_ids[].

Signed-off-by: Martin Schiller <ms at dev.tdt.de>
---
 drivers/i2c/mtk_i2c.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i2c/mtk_i2c.c b/drivers/i2c/mtk_i2c.c
index 3450177741a..6edf3f44eca 100644
--- a/drivers/i2c/mtk_i2c.c
+++ b/drivers/i2c/mtk_i2c.c
@@ -879,7 +879,7 @@ static const struct udevice_id mtk_i2c_ids[] = {
 	}, {
 		.compatible = "mediatek,mt8518-i2c",
 		.data = (ulong)&mt8518_soc_data,
-	}
+	}, {}
 };
 
 U_BOOT_DRIVER(mtk_i2c) = {
-- 
2.39.5



More information about the U-Boot mailing list