rockchip: rk3328: fix syscon id table
authorKever Yang <kever.yang@rock-chips.com>
Wed, 6 Sep 2017 07:58:25 +0000 (15:58 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 8 Sep 2017 09:44:51 +0000 (11:44 +0200)
syscon id table need a dummy member as NULL ending, or else system
will panic while try to match a compatible in this table as a list.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/mach-rockchip/rk3328/syscon_rk3328.c

index a1a368fcd272a4fcac2b448f635e1f4a2b15940c..9a2c88d6dc9e466a3cd32be71c6c0e594cbf1e35 100644 (file)
@@ -11,6 +11,7 @@
 
 static const struct udevice_id rk3328_syscon_ids[] = {
        { .compatible = "rockchip,rk3328-grf", .data = ROCKCHIP_SYSCON_GRF },
+       { }
 };
 
 U_BOOT_DRIVER(syscon_rk3328) = {