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

Commit 4d247492 authored by Jeff Hugo's avatar Jeff Hugo Committed by Gerrit - the friendly Code Review server
Browse files

msm: clock-pll: Use smem_get_entry_to_proc()



smem_get_entry() is deprecated.  Use the replacement function,
smem_get_entry_to_proc(), instead.

Change-Id: I19e1c586be4c9861e14e37a339e41c31095c59bc
Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
parent a27c8c80
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -536,7 +536,8 @@ void __init msm_shared_pll_control_init(void)

	remote_spin_lock_init(&pll_lock, PLL_REMOTE_SPINLOCK_ID);

	pll_control = smem_get_entry(SMEM_CLKREGIM_SOURCES, &smem_size);
	pll_control = smem_get_entry_to_proc(SMEM_CLKREGIM_SOURCES, &smem_size,
							0, SMEM_ANY_HOST_FLAG);
	if (!pll_control) {
		pr_err("Can't find shared PLL control data structure!\n");
		BUG();