[PATCH 08/20] input: rmi4: rmi_f11: Struct headers are expected to start with 'struct '

Lee Jones
2020-11-04T16:25:03Z

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

drivers/input/rmi4/rmi_f11.c:66: warning: Cannot understand * @rezero - writing this to the F11 command register will cause the sensor to
drivers/input/rmi4/rmi_f11.c:311: warning: cannot understand function prototype: 'struct f11_2d_sensor_queries '

Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Henrik Rydberg <rydberg@bitmath.org>
Cc: Andrew Duggan <aduggan@synaptics.com>
Cc: linux-input@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
drivers/input/rmi4/rmi_f11.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/input/rmi4/rmi_f11.c b/drivers/input/rmi4/rmi_f11.c
index ffa39ab153f2a..38baf39ce0916 100644
--- a/drivers/input/rmi4/rmi_f11.c
+++ b/drivers/input/rmi4/rmi_f11.c
@@ -62,7 +62,7 @@
/* maximum ABS_MT_POSITION displacement (in mm) */
#define DMAX 10

-/**
+/*
* @rezero - writing this to the F11 command register will cause the sensor to
* calibrate to the current capacitive state.
*/
@@ -178,7 +178,8 @@
#define F11_UNIFORM_CLICKPAD 0x02

/**
- * Query registers 1 through 4 are always present.
+ * struct f11_2d_sensor_queries - Query registers 1 through 4 are always
+ * present.
*
* @nr_fingers - describes the maximum number of fingers the 2-D sensor
* supports.
--
2.25.1