Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: resistive-adc-touch - struct headers should start with 'struct <name>'

Fixes the following W=1 kernel build warning(s):

drivers/input/touchscreen/resistive-adc-touch.c:34: warning: cannot understand function prototype: 'struct grts_state '

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20201104162427.2984742-10-lee.jones@linaro.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Lee Jones and committed by
Dmitry Torokhov
136feb4c 29c2e124

+1 -1
+1 -1
drivers/input/touchscreen/resistive-adc-touch.c
··· 23 23 #define GRTS_MAX_POS_MASK GENMASK(11, 0) 24 24 25 25 /** 26 - * grts_state - generic resistive touch screen information struct 26 + * struct grts_state - generic resistive touch screen information struct 27 27 * @pressure_min: number representing the minimum for the pressure 28 28 * @pressure: are we getting pressure info or not 29 29 * @iio_chans: list of channels acquired