Re: [PATCH] clk: ti: dra7: remove two unused symbols
From: Tony Lindgren
Date: Fri Apr 17 2020 - 11:33:47 EST
Tero,
* Jason Yan <yanaijie@xxxxxxxxxx> [200417 07:09]:
> Fix the following gcc warning:
>
> drivers/clk/ti/clk-7xx.c:320:43: warning: âdra7_gpu_sys_clk_dataâ
> defined but not used [-Wunused-const-variable=]
> static const struct omap_clkctrl_div_data dra7_gpu_sys_clk_data
> __initconst = {
> ^~~~~~~~~~~~~~~~~~~~~
> drivers/clk/ti/clk-7xx.c:315:27: warning: âdra7_gpu_sys_clk_parentsâ
> defined but not used [-Wunused-const-variable=]
> static const char * const dra7_gpu_sys_clk_parents[] __initconst = {
> ^~~~~~~~~~~~~~~~~~~~~~~~
Looks like this started happening with commit 957ad44ff5f2
("clk: ti: add clkctrl data dra7 sgx") as I did it based on
omap5. But the clocks seem slightly different, care to check
sgx clocking against the TRM in case I also messed up something
else?
Regards,
Tony