diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-07-25 22:49:14 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-07-26 14:03:19 -0700 |
commit | c0cd17f6dc7342a81b61017e6b84e363f86081c6 (patch) | |
tree | ef23faa1be9c0d0835b784ecb52ffbd7b39da43d /drivers/input/mouse/alps.h | |
parent | 38c11eaaab0cf8ef6004aa704f1bb2ff5e6bc1b0 (diff) | |
download | blackbird-op-linux-c0cd17f6dc7342a81b61017e6b84e363f86081c6.tar.gz blackbird-op-linux-c0cd17f6dc7342a81b61017e6b84e363f86081c6.zip |
Input: alps - cache firmware version
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/mouse/alps.h')
-rw-r--r-- | drivers/input/mouse/alps.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/mouse/alps.h b/drivers/input/mouse/alps.h index 17e3ae39bcb7..e3d0f09aeeb3 100644 --- a/drivers/input/mouse/alps.h +++ b/drivers/input/mouse/alps.h @@ -124,6 +124,7 @@ struct alps_fields { * known format for this model. The first byte of the report, ANDed with * mask0, should match byte0. * @mask0: The mask used to check the first byte of the report. + * @fw_ver: cached copy of firmware version (EC report) * @flags: Additional device capabilities (passthrough port, trackstick, etc.). * @x_max: Largest possible X position value. * @y_max: Largest possible Y position value. @@ -149,6 +150,7 @@ struct alps_data { int addr_command; unsigned char proto_version; unsigned char byte0, mask0; + unsigned char fw_ver[3]; int flags; int x_max; int y_max; |