]> git.baikalelectronics.ru Git - kernel.git/commit
Input: ALPS - add protocol version field in alps_model_info
authorSeth Forshee <seth.forshee@canonical.com>
Tue, 8 Nov 2011 03:53:24 +0000 (19:53 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 8 Nov 2011 06:22:10 +0000 (22:22 -0800)
commitd15acf659ac9aff3c4e33ab5b24bd18c303848cc
tree07221f6fa39181d1bfb8bf51ff4cb86c8e36a6d3
parent3d56b0dd47d298e0864febbe2cb33ffeac834787
Input: ALPS - add protocol version field in alps_model_info

In preparation for adding support for more ALPS protocol versions,
add a field for the protocol version to the model info instead of
using a field in the flags. OLDPROTO and !OLDPROTO are now called
version 1 and version 2, repsectively.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Acked-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/alps.c
drivers/input/mouse/alps.h