Message ID | 20221122011616.1530-1-yang.lee@linux.alibaba.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [-next] clk: Fix one kernel-doc comment | expand |
Hi-- On 11/21/22 17:16, Yang Li wrote: > 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 > > Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3230 > Reported-by: Abaci Robot <abaci@linux.alibaba.com> > Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> > --- > drivers/clk/sunxi-ng/ccu_mmc_timing.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/clk/sunxi-ng/ccu_mmc_timing.c b/drivers/clk/sunxi-ng/ccu_mmc_timing.c > index de33414fc5c2..c6a6ce98ca03 100644 > --- a/drivers/clk/sunxi-ng/ccu_mmc_timing.c > +++ b/drivers/clk/sunxi-ng/ccu_mmc_timing.c > @@ -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 ':'. > * @clk: clock to query > * > * Returns 0 if the clock is in old timing mode, > 0 if it is in
diff --git a/drivers/clk/sunxi-ng/ccu_mmc_timing.c b/drivers/clk/sunxi-ng/ccu_mmc_timing.c index de33414fc5c2..c6a6ce98ca03 100644 --- a/drivers/clk/sunxi-ng/ccu_mmc_timing.c +++ b/drivers/clk/sunxi-ng/ccu_mmc_timing.c @@ -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
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 Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3230 Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> --- drivers/clk/sunxi-ng/ccu_mmc_timing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)