msm: clock-voter: Assign voter_clk_handoff() in clk_ops_voter
voter_clk_handoff() was never assigned as the handoff op for
clk_ops_voter. Fix this and mark it as static at the same time.
Change-Id: I8d6ff1eea35a7e57aeb0be220c1e80d43a923722
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
diff --git a/arch/arm/mach-msm/clock-voter.c b/arch/arm/mach-msm/clock-voter.c
index 177af8c..4cd9b1c 100644
--- a/arch/arm/mach-msm/clock-voter.c
+++ b/arch/arm/mach-msm/clock-voter.c
@@ -147,7 +147,7 @@
return true;
}
-enum handoff voter_clk_handoff(struct clk *clk)
+static enum handoff voter_clk_handoff(struct clk *clk)
{
/* Apply default rate vote */
if (clk->rate)
@@ -164,4 +164,5 @@
.round_rate = voter_clk_round_rate,
.get_parent = voter_clk_get_parent,
.is_local = voter_clk_is_local,
+ .handoff = voter_clk_handoff,
};