diff options
author | Thomas Skibo <thomas-git@skibo.net> | 2021-08-16 02:04:03 +0300 |
---|---|---|
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | 2021-09-07 05:34:29 +0300 |
commit | 9d84795fc5dcd769cc8a1efedc783863e88cb25d (patch) | |
tree | 1474711a7744a9e032afb5c7ebe2f09f03ba292b /drivers/i2c | |
parent | f6431e8fb358e2fdd01692604cd5796a1b7c10a0 (diff) | |
download | u-boot-9d84795fc5dcd769cc8a1efedc783863e88cb25d.tar.xz |
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>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/ocores_i2c.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) = { |