Commit 81ba7e85 authored by Fabrice Gasnier's avatar Fabrice Gasnier Committed by Jonathan Cameron
Browse files

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: default avatarFabrice Gasnier <fabrice.gasnier@st.com>
Fixes: 597f55e3 ("counter: stm32-lptimer: add counter device")
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 0f536e91
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
 */