Skip to contentSkip to conversation

clk: Gemini: fix struct name in kernel-doc

PATCH Applied Randy Dunlap 3 participants 3 messages Nov 20, 2021 – Dec 3, 2021 Common clk

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: Gemini: fix struct name in kernel-doc

Fix a typo in the struct name in the kernel-doc notation so that kernel-doc won't complain about it.

Fixes this warning:

drivers/clk/clk-gemini.c:64: warning: expecting prototype for struct gemini_data_data. Prototype was for struct gemini_gate_data instead

Fixes 846423f96721 ("clk: Add Gemini SoC clock controller")
---
 drivers/clk/clk-gemini.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/clk-gemini.c +1 -1
@@ -50,7 +50,7 @@ static DEFINE_SPINLOCK(gemini_clk_lock);
 #define PCI_DLL_TAP_SEL_MASK		0x1f
 
 /**
- * struct gemini_data_data - Gemini gated clocks
+ * struct gemini_gate_data - Gemini gated clocks
  * @bit_idx: the bit used to gate this clock in the clock register
  * @name: the clock name
  * @parent_name: the name of the parent clock
Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · Randy Dunlap

Fix a typo in the struct name in the kernel-doc notation so that kernel-doc won't complain about it.

Fixes this warning:

drivers/clk/clk-gemini.c:64: warning: expecting prototype for struct gemini_data_data. Prototype was for struct gemini_gate_data instead

Fixes 846423f96721 ("clk: Add Gemini SoC clock controller")

Yours,
Linus Walleij

maintainer Applied
#2 lore raw
In reply to Randy Dunlap

Quoting Randy Dunlap (2021-11-19 22:27:19)

Quoted 5 lines

Fix a typo in the struct name in the kernel-doc notation so that kernel-doc won't complain about it.

Fixes this warning:

Quoted 7 lines

drivers/clk/clk-gemini.c:64: warning: expecting prototype for struct gemini_data_data. Prototype was for struct gemini_gate_data instead

Fixes 846423f96721 ("clk: Add Gemini SoC clock controller")

---

Applied to clk-next