Commit 9d84795f authored by Thomas Skibo's avatar Thomas Skibo Committed by Leo Yu-Chi Liang
Browse files

riscv: Add missing sentinel in ocores_i2c.c



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: default avatarThomas Skibo <thomas-git@skibo.net>
Reviewed-by: default avatarLeo Yu-Chi Liang <ycliang@andestech.com>
parent f6431e8f
......@@ -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) = {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment