Skip to content

Commit 71e7623

Browse files
rddunlapbebarino
authored andcommitted
clk: imx: pllv1: fix kernel-doc notation for struct clk_pllv1
Convert struct clk_pllv1 comments to kernel-doc notation and move them below the MFN_* macros. Fixes this kernel-doc warning: drivers/clk/imx/clk-pllv1.c:12: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * pll v1 Fixes: 2af9e6d ("ARM i.MX: Add common clock support for pllv1") Fixes: a594790 ("ARM: imx: pllv1: Fix PLL calculation for i.MX27") Signed-off-by: Randy Dunlap <[email protected]> Reported-by: kernel test robot <[email protected]> Cc: Abel Vesa <[email protected]> Cc: [email protected] Cc: [email protected] Cc: Alexander Shiyan <[email protected]> Cc: Shawn Guo <[email protected]> Cc: Sascha Hauer <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent fa55b7d commit 71e7623

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

drivers/clk/imx/clk-pllv1.c

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,19 @@
88

99
#include "clk.h"
1010

11+
#define MFN_BITS (10)
12+
#define MFN_SIGN (BIT(MFN_BITS - 1))
13+
#define MFN_MASK (MFN_SIGN - 1)
14+
1115
/**
12-
* pll v1
16+
* struct clk_pllv1 - IMX PLLv1 clock descriptor
1317
*
14-
* @clk_hw clock source
15-
* @parent the parent clock name
16-
* @base base address of pll registers
18+
* @hw: clock source
19+
* @base: base address of pll registers
20+
* @type: type of IMX_PLLV1
1721
*
1822
* PLL clock version 1, found on i.MX1/21/25/27/31/35
1923
*/
20-
21-
#define MFN_BITS (10)
22-
#define MFN_SIGN (BIT(MFN_BITS - 1))
23-
#define MFN_MASK (MFN_SIGN - 1)
24-
2524
struct clk_pllv1 {
2625
struct clk_hw hw;
2726
void __iomem *base;

0 commit comments

Comments
 (0)