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

Commit 2071f6b8 authored by Olof Johansson's avatar Olof Johansson Committed by Greg Kroah-Hartman
Browse files

clk: Move clk_core_reparent_orphans() under CONFIG_OF



[ Upstream commit c771256ee7a03d3fb3c0443319ae6249c455849d ]

A recent addition exposed a helper that is only used for CONFIG_OF. Move
it into the CONFIG_OF zone in this file to make the compiler stop
warning about an unused function.

Fixes: 66d9506440bb ("clk: walk orphan list on clock provider registration")
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
Link: https://lkml.kernel.org/r/20191217082501.424892072D@mail.kernel.org


[sboyd@kernel.org: "Simply" move the function instead]
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 00235274
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment