From: Thomas Skibo <thomas-git@skibo.net>
To: u-boot@lists.denx.de
Cc: Thomas Skibo <thomas-git@skibo.net>
Subject: [PATCH] riscv: Add missing sentinel in ocores_i2c.c
Date: Sun, 15 Aug 2021 16:04:03 -0700 [thread overview]
Message-ID: <20210815230403.3561-1-thomas-git@skibo.net> (raw)
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
next reply other threads:[~2021-08-16 1:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-15 23:04 Thomas Skibo [this message]
2021-08-26 7:52 ` [PATCH] riscv: Add missing sentinel in ocores_i2c.c Leo Liang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210815230403.3561-1-thomas-git@skibo.net \
--to=thomas-git@skibo.net \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox