Hi Simon,

On 22/10/15 22:07, Simon Glass wrote:
Hi Lin,

On 20 October 2015 at 20:37, Lin Huang <h...@rock-chips.com> wrote:
Signed-off-by: Lin Huang <h...@rock-chips.com>
---
Changes in v1: None

  drivers/serial/serial_rockchip.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/serial/serial_rockchip.c b/drivers/serial/serial_rockchip.c
index 0e7bbfc..1b64ea0 100644
--- a/drivers/serial/serial_rockchip.c
+++ b/drivers/serial/serial_rockchip.c
@@ -12,7 +12,7 @@

  static const struct udevice_id rockchip_serial_ids[] = {
         { .compatible = "rockchip,rk3288-uart" },
-       { }
+       { .compatible = "rockchip,rk3036-uart" },
You should keep the {} at the end as a terminator.

    Oh, right, thank you, i will correct it in next version.

  };

  static int rockchip_serial_ofdata_to_platdata(struct udevice *dev)
--
1.9.1

Regards,
Simon




--
Lin Huang

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to