Skip to content

Commit

Permalink
Input: resistive-adc-touch - struct headers should start with 'struct…
Browse files Browse the repository at this point in the history
… <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>
  • Loading branch information
Lee Jones authored and Dmitry Torokhov committed Nov 9, 2020
1 parent 29c2e12 commit 136feb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/touchscreen/resistive-adc-touch.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define GRTS_MAX_POS_MASK GENMASK(11, 0)

/**
* grts_state - generic resistive touch screen information struct
* struct grts_state - generic resistive touch screen information struct
* @pressure_min: number representing the minimum for the pressure
* @pressure: are we getting pressure info or not
* @iio_chans: list of channels acquired
Expand Down

0 comments on commit 136feb4

Please sign in to comment.