clk: Fix one kernel-doc comment
Subsystems (2)
PATCH 1/1 clk: Fix one kernel-doc comment
drivers/clk/sunxi-ng/ccu_mmc_timing.c:54: warning: expecting prototype for sunxi_ccu_set_mmc_timing_mode(). Prototype was for sunxi_ccu_get_mmc_timing_mode() instead
Reported-by Abaci Robot <[email protected]>
Signed-off-by Yang Li <[email protected]>
--- drivers/clk/sunxi-ng/ccu_mmc_timing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/sunxi-ng/ccu_mmc_timing.c +1 -1
@@ -43,7 +43,7 @@ int sunxi_ccu_set_mmc_timing_mode(struct clk *clk, bool new_mode)EXPORT_SYMBOL_GPL (sunxi_ccu_set_mmc_timing_mode);/** -* sunxi_ccu_set_mmc_timing_mode: Get the current MMC clock timing mode +* sunxi_ccu_get_mmc_timing_mode: Get the current MMC clock timing mode * @clk: clock to query * * Returns 0 if the clock is in old timing mode, > 0 if it is in
Signature · 1 line
2.20.1.7.g153144c
Hi--
Quoted 14 lines · Yang Li
drivers/clk/sunxi-ng/ccu_mmc_timing.c:54: warning: expecting prototype forsunxi_ccu_set_mmc_timing_mode(). Prototype was forsunxi_ccu_get_mmc_timing_mode()insteadReported-by Abaci Robot <[email protected]>Signed-off-by Yang Li <[email protected]>--- drivers/clk/sunxi-ng/ccu_mmc_timing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/clk/sunxi-ng/ccu_mmc_timing.c +0
-0
drivers/clk/sunxi-ng/ccu_mmc_timing.c int sunxi_ccu_set_mmc_timing_mode(struct clk *clk, bool new_mode) · line 46
Quoted 5 lines
drivers/clk/sunxi-ng/ccu_mmc_timing.c +1
-1@@ -43,7 +43,7 @@ int sunxi_ccu_set_mmc_timing_mode(struct clk *clk, bool new_mode)EXPORT_SYMBOL_GPL (sunxi_ccu_set_mmc_timing_mode);/** -* sunxi_ccu_set_mmc_timing_mode: Get the current MMC clock timing mode +* sunxi_ccu_get_mmc_timing_mode: Get the current MMC clock timing mode
function name and description should be separated by a '-' instead of ':'.
Quoted 3 lines
drivers/clk/sunxi-ng/ccu_mmc_timing.c +0
-0* @clk: clock to query * * Returns 0 if the clock is in old timing mode, > 0 if it is in
Signature · 1 line
~Randy