Re: [PATCH] clk: mediatek: remove unnecessary include header from reset.c

From: Stephen Boyd
Date: Tue Dec 26 2017 - 20:10:32 EST


On 12/25, sean.wang@xxxxxxxxxxxx wrote:
> From: Sean Wang <sean.wang@xxxxxxxxxxxx>
>
> In fact, the clk-mtk.h header is indeed not needed for reset.c and thus
> it's safe and good change to remove it from the file.
>
> Signed-off-by: Sean Wang <sean.wang@xxxxxxxxxxxx>
> Reviewed-by: Jean Delvare <jdelvare@xxxxxxx>
> Cc: Jean Delvare <jdelvare@xxxxxxx>
> ---
> drivers/clk/mediatek/reset.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/clk/mediatek/reset.c b/drivers/clk/mediatek/reset.c
> index d3551d5..70ebb2e 100644
> --- a/drivers/clk/mediatek/reset.c
> +++ b/drivers/clk/mediatek/reset.c
> @@ -19,8 +19,6 @@
> #include <linux/reset-controller.h>
> #include <linux/slab.h>
>
> -#include "clk-mtk.h"
> -

drivers/clk/mediatek/reset.c:64:6: warning: symbol 'mtk_register_reset_controller' was not declared. Should it be static?

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project