* [PATCH] riscv: Add missing sentinel in ocores_i2c.c
@ 2021-08-15 23:04 Thomas Skibo
2021-08-26 7:52 ` Leo Liang
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Skibo @ 2021-08-15 23:04 UTC (permalink / raw)
To: u-boot; +Cc: Thomas Skibo
The ocores_i2c.c driver is missing a sentinel at the end of
the compatible strings list. This causes the "dm compat" command
to spew garbage.
Signed-off-by: Thomas Skibo <thomas-git@skibo.net>
---
drivers/i2c/ocores_i2c.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/i2c/ocores_i2c.c b/drivers/i2c/ocores_i2c.c
index 088ba9a6a3..f129ec3818 100644
--- a/drivers/i2c/ocores_i2c.c
+++ b/drivers/i2c/ocores_i2c.c
@@ -626,6 +626,7 @@ static const struct udevice_id ocores_i2c_ids[] = {
{ .compatible = "aeroflexgaisler,i2cmst", .data = TYPE_GRLIB },
{ .compatible = "sifive,fu540-c000-i2c" },
{ .compatible = "sifive,i2c0" },
+{ }
};
U_BOOT_DRIVER(i2c_ocores) = {
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-08-26 7:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-15 23:04 [PATCH] riscv: Add missing sentinel in ocores_i2c.c Thomas Skibo
2021-08-26 7:52 ` Leo Liang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox