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: Thomas Skibo <thomas-git@skibo.net>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
This commit is contained in:
Thomas Skibo 2021-08-15 16:04:03 -07:00 committed by Leo Yu-Chi Liang
parent f6431e8fb3
commit 9d84795fc5

View file

@ -626,6 +626,7 @@ static const struct udevice_id ocores_i2c_ids[] = {
{ .compatible = "aeroflexgaisler,i2cmst", .data = TYPE_GRLIB }, { .compatible = "aeroflexgaisler,i2cmst", .data = TYPE_GRLIB },
{ .compatible = "sifive,fu540-c000-i2c" }, { .compatible = "sifive,fu540-c000-i2c" },
{ .compatible = "sifive,i2c0" }, { .compatible = "sifive,i2c0" },
{ }
}; };
U_BOOT_DRIVER(i2c_ocores) = { U_BOOT_DRIVER(i2c_ocores) = {