aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorDmitry Baryshkov <dbaryshkov@gmail.com>2007-12-14 01:21:03 -0500
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2007-12-14 01:21:03 -0500
commit22d1c398e852e7f0ace3482e662886386ef15725 (patch)
treea369ec1b37589ebe530f6726b475e3c34b5678c8 /drivers/input
parent35baef2afb6270ff731b4d766f0b163c3912304f (diff)
Input: Handle EV_PWR type of input caps in input_set_capability.
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/input.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c
index 307c7b5c2b33..c0837d392057 100644
--- a/drivers/input/input.c
+++ b/drivers/input/input.c
@@ -1266,6 +1266,10 @@ void input_set_capability(struct input_dev *dev, unsigned int type, unsigned int
1266 __set_bit(code, dev->ffbit); 1266 __set_bit(code, dev->ffbit);
1267 break; 1267 break;
1268 1268
1269 case EV_PWR:
1270 /* do nothing */
1271 break;
1272
1269 default: 1273 default:
1270 printk(KERN_ERR 1274 printk(KERN_ERR
1271 "input_set_capability: unknown type %u (code %u)\n", 1275 "input_set_capability: unknown type %u (code %u)\n",