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

Configure Feed

Select the types of activity you want to include in your feed.

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
+1
include/linux/input/sparse-keymap.h
··· 20 20 * private definitions. 21 21 * @code: Device-specific data identifying the button/switch 22 22 * @keycode: KEY_* code assigned to a key/button 23 + * @sw: struct with code/value used by KE_SW and KE_VSW 23 24 * @sw.code: SW_* code assigned to a switch 24 25 * @sw.value: Value that should be sent in an input even when KE_SW 25 26 * switch is toggled. KE_VSW switches ignore this field and