From: Dmitry Baryshkov Date: Fri, 14 Dec 2007 06:21:03 +0000 (-0500) Subject: Input: Handle EV_PWR type of input caps in input_set_capability. X-Git-Tag: v2.6.24-rc8~14^2~5 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=22d1c398e852e7f0ace3482e662886386ef15725;p=linux-2.6-omap-h63xx.git Input: Handle EV_PWR type of input caps in input_set_capability. Signed-off-by: Dmitry Baryshkov Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/input.c b/drivers/input/input.c index 307c7b5c2b3..c0837d39205 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 __set_bit(code, dev->ffbit); break; + case EV_PWR: + /* do nothing */ + break; + default: printk(KERN_ERR "input_set_capability: unknown type %u (code %u)\n",