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

Commit e5988636 authored by Haojian Zhuang's avatar Haojian Zhuang Committed by Eric Miao
Browse files

[ARM] mmp: update clock register function



Use clk_add_table in order to sync with clock driver.

Signed-off-by: default avatarHaojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: default avatarEric Miao <eric.y.miao@gmail.com>
parent f97cab28
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -101,7 +101,7 @@ static int __init mmp2_init(void)
	if (cpu_is_mmp2()) {
		mfp_init_base(MFPR_VIRT_BASE);
		mfp_init_addr(mmp2_addr_map);
		clks_register(ARRAY_AND_SIZE(mmp2_clkregs));
		clkdev_add_table(ARRAY_AND_SIZE(mmp2_clkregs));
	}

	return 0;