diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-09-10 10:27:17 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-10-15 07:57:55 +0200 |
commit | f2c6855159228861f4552d563c13f5b194b9889f (patch) | |
tree | 08c904292960247678a5a4306950262deafdeac0 /include/linux/input | |
parent | 72a2fbda53d057081d0bca2db221995435fb0d1e (diff) |
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>
Diffstat (limited to 'include/linux/input')
-rw-r--r-- | include/linux/input/sparse-keymap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/input/sparse-keymap.h b/include/linux/input/sparse-keymap.h index d25d1452dc6e..d0dddc14ebc8 100644 --- a/include/linux/input/sparse-keymap.h +++ b/include/linux/input/sparse-keymap.h @@ -20,6 +20,7 @@ * private definitions. * @code: Device-specific data identifying the button/switch * @keycode: KEY_* code assigned to a key/button + * @sw: struct with code/value used by KE_SW and KE_VSW * @sw.code: SW_* code assigned to a switch * @sw.value: Value that should be sent in an input even when KE_SW * switch is toggled. KE_VSW switches ignore this field and |