Skip to content

Commit f2c6855

Browse files
committed
Input: sparse-keymap: add a description for @sw
Add a description for it, in order to avoids this warning: ./include/linux/input/sparse-keymap.h:43: warning: Function parameter or member 'sw' not described in 'key_entry' Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
1 parent 72a2fbd commit f2c6855

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

include/linux/input/sparse-keymap.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
* private definitions.
2121
* @code: Device-specific data identifying the button/switch
2222
* @keycode: KEY_* code assigned to a key/button
23+
* @sw: struct with code/value used by KE_SW and KE_VSW
2324
* @sw.code: SW_* code assigned to a switch
2425
* @sw.value: Value that should be sent in an input even when KE_SW
2526
* switch is toggled. KE_VSW switches ignore this field and

0 commit comments

Comments
 (0)