Re: [PATCH 07/10] mips: ralink: remove clock related function prototypes

From: Stephen Boyd
Date: Mon Mar 20 2023 - 15:44:13 EST


Quoting Sergio Paracuellos (2023-03-20 09:18:20)
> Clock related code has been removed from 'arch/mips/ralink' folder and put
> into drivers space. Hence remove clock related prototypes which are not
> used anymore.
>
> Signed-off-by: Sergio Paracuellos <sergio.paracuellos@xxxxxxxxx>
> ---
> arch/mips/ralink/common.h | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/arch/mips/ralink/common.h b/arch/mips/ralink/common.h
> index 87fc16751281..fcdfc9dc6210 100644
> --- a/arch/mips/ralink/common.h
> +++ b/arch/mips/ralink/common.h
> @@ -23,9 +23,6 @@ extern struct ralink_soc_info soc_info;
>
> extern void ralink_of_remap(void);
>
> -extern void ralink_clk_init(void);

Why isn't this removed in the patch that removes the function?

> -extern void ralink_clk_add(const char *dev, unsigned long rate);
> -

Same comment.

> extern void ralink_rst_init(void);
>