summaryrefslogtreecommitdiff
path: root/drivers/clk/zynqmp/clk-gate-zynqmp.c
diff options
context:
space:
mode:
authorRajan Vaja <rajan.vaja@xilinx.com>2020-04-24 23:57:46 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-28 16:45:07 +0300
commit3637e84cd2e910f84835fac9650316dce53218ef (patch)
tree44474f3ae52b860a532a51b277c08cad74224d92 /drivers/clk/zynqmp/clk-gate-zynqmp.c
parent6366c1bac3149c63752c03ea1c731d461d5349a7 (diff)
downloadlinux-3637e84cd2e910f84835fac9650316dce53218ef.tar.xz
firmware: xilinx: Remove eemi ops for clock_enable
Use direct function call for clock_enable instead of eemi ops. Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com> Signed-off-by: Jolly Shah <jolly.shah@xilinx.com> Link: https://lore.kernel.org/r/1587761887-4279-5-git-send-email-jolly.shah@xilinx.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/clk/zynqmp/clk-gate-zynqmp.c')
-rw-r--r--drivers/clk/zynqmp/clk-gate-zynqmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/zynqmp/clk-gate-zynqmp.c b/drivers/clk/zynqmp/clk-gate-zynqmp.c
index 83b236f20fff..437b921f33b7 100644
--- a/drivers/clk/zynqmp/clk-gate-zynqmp.c
+++ b/drivers/clk/zynqmp/clk-gate-zynqmp.c
@@ -39,7 +39,7 @@ static int zynqmp_clk_gate_enable(struct clk_hw *hw)
int ret;
const struct zynqmp_eemi_ops *eemi_ops = zynqmp_pm_get_eemi_ops();
- ret = eemi_ops->clock_enable(clk_id);
+ ret = zynqmp_pm_clock_enable(clk_id);
if (ret)
pr_warn_once("%s() clock enabled failed for %s, ret = %d\n",