2022-12-09 00:48:27

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH] clk: nomadik: correct struct name kernel-doc warning

Use the correct struct name for the kernel-doc notation to prevent
a kernel-doc warning:

clk-nomadik.c:148: warning: expecting prototype for struct clk_pll1. Prototype was for struct clk_pll instead

Fixes: ef6eb322ce57 ("clk: nomadik: implement the Nomadik clocks properly")
Signed-off-by: Randy Dunlap <[email protected]>
Reported-by: kernel test robot <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: [email protected]
Cc: Michael Turquette <[email protected]>
Cc: Stephen Boyd <[email protected]>
Cc: [email protected]
---
drivers/clk/clk-nomadik.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff -- a/drivers/clk/clk-nomadik.c b/drivers/clk/clk-nomadik.c
--- a/drivers/clk/clk-nomadik.c
+++ b/drivers/clk/clk-nomadik.c
@@ -138,7 +138,7 @@ out_put:
}

/**
- * struct clk_pll1 - Nomadik PLL1 clock
+ * struct clk_pll - Nomadik PLL clock
* @hw: corresponding clock hardware entry
* @id: PLL instance: 1 or 2
*/


2022-12-09 18:45:37

by Stephen Boyd

[permalink] [raw]
Subject: Re: [PATCH] clk: nomadik: correct struct name kernel-doc warning

Quoting Randy Dunlap (2022-12-08 16:20:16)
> Use the correct struct name for the kernel-doc notation to prevent
> a kernel-doc warning:
>
> clk-nomadik.c:148: warning: expecting prototype for struct clk_pll1. Prototype was for struct clk_pll instead
>
> Fixes: ef6eb322ce57 ("clk: nomadik: implement the Nomadik clocks properly")
> Signed-off-by: Randy Dunlap <[email protected]>
> Reported-by: kernel test robot <[email protected]>
> Cc: Mauro Carvalho Chehab <[email protected]>
> Cc: Linus Walleij <[email protected]>
> Cc: [email protected]
> Cc: Michael Turquette <[email protected]>
> Cc: Stephen Boyd <[email protected]>
> Cc: [email protected]
> ---

Applied to clk-next