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 <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202505100302.YVtB1zhF-lkp@intel.com/ Signed-off-by: Yao Zi <ziyao@disroot.org> Link: https://lore.kernel.org/r/20250510075248.34006-2-ziyao@disroot.org Signed-off-by: Heiko Stuebner <heiko@sntech.de>
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)