Skip to contentSkip to conversation

clk: nomadik: correct struct name kernel-doc warning

PATCH Applied Randy Dunlap 2 participants 2 messages Dec 9, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
Cc Mauro Carvalho Chehab <[email protected]>
Cc Linus Walleij <[email protected]>
Cc Michael Turquette <[email protected]>
Cc Stephen Boyd <[email protected]>
---
 drivers/clk/clk-nomadik.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/clk-nomadik.c +1 -1
diff -- 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
  */
maintainer Applied
#1 lore raw

Quoting Randy Dunlap (2022-12-08 16:20:16)

Quoted 14 lines

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")
Cc Mauro Carvalho Chehab <[email protected]>
Cc Linus Walleij <[email protected]>
Cc Michael Turquette <[email protected]>
Cc Stephen Boyd <[email protected]>
Quoted 1 line

---

Applied to clk-next