Re: [PATCH 1/5] reset: hisilicon: change the definition of hisi_reset_init
From: Philipp Zabel
Date: Tue May 10 2016 - 07:10:04 EST
Hi Jiancheng,
Am Dienstag, den 10.05.2016, 17:19 +0800 schrieb Jiancheng Xue:
> Change the input arguments type to struct platform_device pointer.
>
> Signed-off-by: Jiancheng Xue <xuejiancheng@xxxxxxxxxxxxx>
[...]
> diff --git a/drivers/clk/hisilicon/reset.h b/drivers/clk/hisilicon/reset.h
> index 677d773..9a69374 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);
Changing this without changing the call to hisi_reset_init() in
hi3519_clk_probe at the same time will break compilation until
patch 5 is applied.
regards
Philipp