summaryrefslogtreecommitdiffstats
path: root/drivers/clk/hisilicon/clk-hi3519.c
diff options
context:
space:
mode:
authorJiancheng Xue <xuejiancheng@hisilicon.com>2016-06-15 08:26:34 +0200
committerStephen Boyd <sboyd@codeaurora.org>2016-06-30 21:33:22 +0200
commit97b7129cd2afb478c4812781470f06d65f458825 (patch)
treeb4b7c8b2e7699c809dd79cc3a43be8f862a38fb9 /drivers/clk/hisilicon/clk-hi3519.c
parentclk: s2mps11: Migrate to clk_hw based OF and registration APIs (diff)
downloadlinux-97b7129cd2afb478c4812781470f06d65f458825.tar.xz
linux-97b7129cd2afb478c4812781470f06d65f458825.zip
reset: hisilicon: change the definition of hisi_reset_init
Change the input arguments type to struct platform_device pointer. Signed-off-by: Jiancheng Xue <xuejiancheng@hisilicon.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/hisilicon/clk-hi3519.c')
-rw-r--r--drivers/clk/hisilicon/clk-hi3519.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/hisilicon/clk-hi3519.c b/drivers/clk/hisilicon/clk-hi3519.c
index 715c7301a66a..8d12700d0cff 100644
--- a/drivers/clk/hisilicon/clk-hi3519.c
+++ b/drivers/clk/hisilicon/clk-hi3519.c
@@ -86,7 +86,7 @@ static int hi3519_clk_probe(struct platform_device *pdev)
struct hisi_clock_data *clk_data;
struct hisi_reset_controller *rstc;
- rstc = hisi_reset_init(np);
+ rstc = hisi_reset_init(pdev);
if (!rstc)
return -ENOMEM;