diff options
author | Wan Jiabing <wanjiabing@vivo.com> | 2022-03-28 15:39:31 +0800 |
---|---|---|
committer | Jernej Skrabec <jernej.skrabec@gmail.com> | 2022-04-06 22:41:31 +0200 |
commit | c887bdc4fb254a871e6180e18203152c548419f1 (patch) | |
tree | f6839ed609dfc452ff9e7e4171548873172798a7 | |
parent | 3123109284176b1532874591f7c81f3837bbdc17 (diff) | |
download | linux-c887bdc4fb254a871e6180e18203152c548419f1.tar.bz2 |
clk: sunxi-ng: fix not NULL terminated coccicheck error
Fix the following coccicheck error:
./drivers/clk/sunxi-ng/ccu-sun6i-rtc.c:348:1-2: sun6i_rtc_ccu_match is
not NULL terminated at line 348
Fixes: d91612d7f01a ("clk: sunxi-ng: Add support for the sun6i RTC clocks")
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20220328073931.36544-1-wanjiabing@vivo.com
-rw-r--r-- | drivers/clk/sunxi-ng/ccu-sun6i-rtc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/sunxi-ng/ccu-sun6i-rtc.c b/drivers/clk/sunxi-ng/ccu-sun6i-rtc.c index 8a10bade7e0d..ffb72d9a9c36 100644 --- a/drivers/clk/sunxi-ng/ccu-sun6i-rtc.c +++ b/drivers/clk/sunxi-ng/ccu-sun6i-rtc.c @@ -346,6 +346,7 @@ static const struct of_device_id sun6i_rtc_ccu_match[] = { .compatible = "allwinner,sun50i-r329-rtc", .data = &sun50i_r329_rtc_ccu_data, }, + {}, }; int sun6i_rtc_ccu_probe(struct device *dev, void __iomem *reg) |