From: Fabrice Gasnier Date: Wed, 18 Sep 2019 12:22:41 +0000 (+0200) Subject: counter: stm32-lptimer-cnt: fix a kernel-doc warning X-Git-Tag: v5.15~5053^2~250^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=81ba7e85d7f3af053b06e8538f7c847587d53935;p=platform%2Fkernel%2Flinux-starfive.git counter: stm32-lptimer-cnt: fix a kernel-doc warning Fix the following warnings when documentation is built: drivers/counter/stm32-lptimer-cnt.c:354: warning: cannot understand function prototype: 'enum stm32_lptim_cnt_function' Signed-off-by: Fabrice Gasnier Fixes: 597f55e3f36c ("counter: stm32-lptimer: add counter device") Signed-off-by: Jonathan Cameron --- diff --git a/drivers/counter/stm32-lptimer-cnt.c b/drivers/counter/stm32-lptimer-cnt.c index bbc930a..28b6364 100644 --- a/drivers/counter/stm32-lptimer-cnt.c +++ b/drivers/counter/stm32-lptimer-cnt.c @@ -347,7 +347,7 @@ static const struct iio_chan_spec stm32_lptim_cnt_channels = { }; /** - * stm32_lptim_cnt_function - enumerates stm32 LPTimer counter & encoder modes + * enum stm32_lptim_cnt_function - enumerates LPTimer counter & encoder modes * @STM32_LPTIM_COUNTER_INCREASE: up count on IN1 rising, falling or both edges * @STM32_LPTIM_ENCODER_BOTH_EDGE: count on both edges (IN1 & IN2 quadrature) */