Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1944a508 authored by YueHaibing's avatar YueHaibing Committed by Greentime Hu
Browse files

nds32: add NULL entry to the end of_device_id array



Make sure of_device_id tables are NULL terminated.
Found by coccinelle spatch "misc/of_table.cocci"

Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Acked-by: default avatarGreentime Hu <greentime@andestech.com>
Signed-off-by: default avatarGreentime Hu <greentime@andestech.com>
parent 1dfdf991
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -9,7 +9,8 @@

void __iomem *atl2c_base;
static const struct of_device_id atl2c_ids[] __initconst = {
	{.compatible = "andestech,atl2c",}
	{.compatible = "andestech,atl2c",},
	{}
};

static int __init atl2c_of_init(void)