Skip to content

Commit 61bf658

Browse files
ziyao233mmind
authored andcommitted
clk: rockchip: Pass NULL as reg pointer when registering GRF MMC clocks
This corrects the type and suppresses sparse warnings about passing plain integers as NULL pointer. Fixes: 621ba4d ("clk: rockchip: Support MMC clocks in GRF region") Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Yao Zi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent 596a977 commit 61bf658

File tree

1 file changed

+1
-1
lines changed
  • drivers/clk/rockchip

1 file changed

+1
-1
lines changed

drivers/clk/rockchip/clk.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ void rockchip_clk_register_branches(struct rockchip_clk_provider *ctx,
622622
clk = rockchip_clk_register_mmc(
623623
list->name,
624624
list->parent_names, list->num_parents,
625-
0,
625+
NULL,
626626
grf, list->muxdiv_offset,
627627
list->div_shift
628628
);

0 commit comments

Comments
 (0)