Input: sparse-keymap - fix KEY_VSW handling in sparse_keymap_setup
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 21 Jan 2011 07:05:17 +0000 (23:05 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 21 Jan 2011 07:13:29 +0000 (23:13 -0800)
commitcb1b145929b5b7e1bdc5f76dd2905df9f89c038e
tree42baec1af85ba0bcf9ac58d070185dc2219e12b3
parent11f5b30dacdd77bee1028764d91ad58b6c73d50c
Input: sparse-keymap - fix KEY_VSW handling in sparse_keymap_setup

We were forgetting to set up device capabilities for KEY_VSW entries.

Reported-by: Tapio Vihuri <tapio.vihuri@nokia.com>
Tested-by: Tapio Vihuri <tapio.vihuri@nokia.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/sparse-keymap.c