diff options
author | Jiancheng Xue <xuejiancheng@hisilicon.com> | 2016-06-15 09:26:34 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2016-06-30 22:33:22 +0300 |
commit | 97b7129cd2afb478c4812781470f06d65f458825 (patch) | |
tree | b4b7c8b2e7699c809dd79cc3a43be8f862a38fb9 /drivers/clk/hisilicon/reset.h | |
parent | b228fad50c009182ae012de35ee05cad9818d8b5 (diff) | |
download | linux-97b7129cd2afb478c4812781470f06d65f458825.tar.xz |
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/reset.h')
-rw-r--r-- | drivers/clk/hisilicon/reset.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/clk/hisilicon/reset.h b/drivers/clk/hisilicon/reset.h index 677d773ed27c..9a69374a0b32 100644 --- a/drivers/clk/hisilicon/reset.h +++ b/drivers/clk/hisilicon/reset.h @@ -22,10 +22,11 @@ struct device_node; struct hisi_reset_controller; #ifdef CONFIG_RESET_CONTROLLER -struct hisi_reset_controller *hisi_reset_init(struct device_node *np); +struct hisi_reset_controller *hisi_reset_init(struct platform_device *pdev); void hisi_reset_exit(struct hisi_reset_controller *rstc); #else -static inline hisi_reset_controller *hisi_reset_init(struct device_node *np) +static inline +struct hisi_reset_controller *hisi_reset_init(struct platform_device *pdev) { return 0; } |