Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=22d1c3... Commit: 22d1c398e852e7f0ace3482e662886386ef15725 Parent: 35baef2afb6270ff731b4d766f0b163c3912304f Author: Dmitry Baryshkov <dbaryshkov@gmail.com> AuthorDate: Fri Dec 14 01:21:03 2007 -0500 Committer: Dmitry Torokhov <dmitry.torokhov@gmail.com> CommitDate: Fri Dec 14 01:21:03 2007 -0500 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> --- drivers/input/input.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/input/input.c b/drivers/input/input.c index 307c7b5..c0837d3 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", - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
