diff mbox series

clk: Gemini: fix struct name in kernel-doc

Message ID 20211120062719.21395-1-rdunlap@infradead.org (mailing list archive)
State Accepted, archived
Headers show
Series clk: Gemini: fix struct name in kernel-doc | expand

Commit Message

Randy Dunlap Nov. 20, 2021, 6:27 a.m. UTC
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")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Cc: linux-clk@vger.kernel.org
---
 drivers/clk/clk-gemini.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Linus Walleij Nov. 20, 2021, 11:48 a.m. UTC | #1
On Sat, Nov 20, 2021 at 7:27 AM Randy Dunlap <rdunlap@infradead.org> wrote:

> 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")
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Reported-by: kernel test robot <lkp@intel.com>
> Cc: linux-clk@vger.kernel.org

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij
Stephen Boyd Dec. 3, 2021, 1:28 a.m. UTC | #2
Quoting Randy Dunlap (2021-11-19 22:27:19)
> 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")
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Reported-by: kernel test robot <lkp@intel.com>
> Cc: linux-clk@vger.kernel.org
> ---

Applied to clk-next
diff mbox series

Patch

--- linux-next-20211118.orig/drivers/clk/clk-gemini.c
+++ linux-next-20211118/drivers/clk/clk-gemini.c
@@ -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