diff options
author | Kever Yang <kever.yang@rock-chips.com> | 2017-09-06 15:58:25 +0800 |
---|---|---|
committer | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2017-09-08 11:44:51 +0200 |
commit | e1f68813670ff383f374f0ca285413058116f3bc (patch) | |
tree | 0ed38ab504c00bb39b752e6a5e99c9ba756b971c | |
parent | 25f840d7ef440442f290e760459714a068487727 (diff) | |
download | u-boot-e1f68813670ff383f374f0ca285413058116f3bc.tar.gz |
rockchip: rk3328: fix syscon id table
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>
-rw-r--r-- | arch/arm/mach-rockchip/rk3328/syscon_rk3328.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-rockchip/rk3328/syscon_rk3328.c b/arch/arm/mach-rockchip/rk3328/syscon_rk3328.c index a1a368fcd2..9a2c88d6dc 100644 --- a/arch/arm/mach-rockchip/rk3328/syscon_rk3328.c +++ b/arch/arm/mach-rockchip/rk3328/syscon_rk3328.c @@ -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) = { |