mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-27 16:01:27 +00:00
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:
parent
f6431e8fb3
commit
9d84795fc5
1 changed files with 1 additions and 0 deletions
|
@ -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) = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue