Skip to content

Commit c887bdc

Browse files
Wan Jiabingjernejsk
authored andcommitted
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: d91612d ("clk: sunxi-ng: Add support for the sun6i RTC clocks") Signed-off-by: Wan Jiabing <[email protected]> Reviewed-by: Jernej Skrabec <[email protected]> Signed-off-by: Jernej Skrabec <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 3123109 commit c887bdc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/clk/sunxi-ng/ccu-sun6i-rtc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ static const struct of_device_id sun6i_rtc_ccu_match[] = {
346346
.compatible = "allwinner,sun50i-r329-rtc",
347347
.data = &sun50i_r329_rtc_ccu_data,
348348
},
349+
{},
349350
};
350351

351352
int sun6i_rtc_ccu_probe(struct device *dev, void __iomem *reg)

0 commit comments

Comments
 (0)