]> Pileus Git - ~andy/linux/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)
commitfa629ef5222193214da9a2b3c94369f79353bec9
tree07221f6fa39181d1bfb8bf51ff4cb86c8e36a6d3
parentd4b347b29b4d14647c7394f7167bf6785dc98e50
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