Skip to content

Commit 0c1d46d

Browse files
Lee Jonesbebarino
authored andcommitted
clk: versatile: clk-icst: Fix worthy struct documentation block
Also demote non-worthy header to standard comment block. Fixes the following W=1 kernel build warning(s): drivers/clk/versatile/clk-icst.c:53: warning: Function parameter or member 'map' not described in 'clk_icst' drivers/clk/versatile/clk-icst.c:53: warning: Function parameter or member 'vcoreg_off' not described in 'clk_icst' drivers/clk/versatile/clk-icst.c:53: warning: Function parameter or member 'lockreg_off' not described in 'clk_icst' drivers/clk/versatile/clk-icst.c:435: warning: cannot understand function prototype: 'const struct icst_params icst525_apcp_cm_params = ' Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Michael Turquette <mturquette@baylibre.com> Cc: Stephen Boyd <sboyd@kernel.org> Cc: linux-arm-kernel@lists.infradead.org Cc: linux-clk@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Link: https://lore.kernel.org/r/20210120093040.1719407-20-lee.jones@linaro.org Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent d52848c commit 0c1d46d

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

drivers/clk/versatile/clk-icst.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@
3636
/**
3737
* struct clk_icst - ICST VCO clock wrapper
3838
* @hw: corresponding clock hardware entry
39-
* @vcoreg: VCO register address
40-
* @lockreg: VCO lock register address
39+
* @map: register map
40+
* @vcoreg_off: VCO register address
41+
* @lockreg_off: VCO lock register address
4142
* @params: parameters for this ICST instance
4243
* @rate: current rate
4344
* @ctype: the type of control register for the ICST
@@ -428,7 +429,7 @@ static const struct icst_params icst307_params = {
428429
.idx2s = icst307_idx2s,
429430
};
430431

431-
/**
432+
/*
432433
* The core modules on the Integrator/AP and Integrator/CP have
433434
* especially crippled ICST525 control.
434435
*/

0 commit comments

Comments
 (0)