diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-03-20 06:18:15 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-04-14 08:24:11 +0200 |
commit | 51269fe86c263ec4fafbafe82970e6d7f6f79102 (patch) | |
tree | 95b0b767cbceef5a6bc8918e4e22b3962ec7a23e /drivers/input/tablet/wacom_wac.h | |
parent | Input: wacom - share pen info with touch of the same ID (diff) | |
download | linux-51269fe86c263ec4fafbafe82970e6d7f6f79102.tar.xz linux-51269fe86c263ec4fafbafe82970e6d7f6f79102.zip |
Input: wacom - do not allocate wacom_wac separately
There is no reason for allocating struct wacom_wac separately from
struct wacom since both have the same lifetime rules and are not
shared. Also make 'open' field a boolean.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/tablet/wacom_wac.h')
-rw-r--r-- | drivers/input/tablet/wacom_wac.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/tablet/wacom_wac.h b/drivers/input/tablet/wacom_wac.h index 4b55fc7ad8ae..f190a2bf148f 100644 --- a/drivers/input/tablet/wacom_wac.h +++ b/drivers/input/tablet/wacom_wac.h @@ -9,6 +9,8 @@ #ifndef WACOM_WAC_H #define WACOM_WAC_H +#include <linux/types.h> + /* maximum packet length for USB devices */ #define WACOM_PKGLEN_MAX 32 |