Re: [PATCH] clk: qoriq: Fix -Wunused-const-variable

From: Stephen Boyd
Date: Wed Aug 07 2019 - 17:20:31 EST


Quoting Nathan Huckleberry (2019-06-27 15:06:42)
> drivers/clk/clk-qoriq.c:138:38: warning: unused variable
> 'p5020_cmux_grp1' [-Wunused-const-variable] static const struct
> clockgen_muxinfo p5020_cmux_grp1
>
> drivers/clk/clk-qoriq.c:146:38: warning: unused variable
> 'p5020_cmux_grp2' [-Wunused-const-variable] static const struct
> clockgen_muxinfo p5020_cmux_grp2
>
> In the definition of the p5020 chip, the p2041 chip's info was used
> instead. The p5020 and p2041 chips have different info. This is most
> likely a typo.
>
> Link: https://github.com/ClangBuiltLinux/linux/issues/525
> Cc: clang-built-linux@xxxxxxxxxxxxxxxx
> Signed-off-by: Nathan Huckleberry <nhuck@xxxxxxxxxx>
> ---

Applied to clk-next