diff options
Diffstat (limited to 'drivers/input/serio/maceps2.c')
-rw-r--r-- | drivers/input/serio/maceps2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/serio/maceps2.c b/drivers/input/serio/maceps2.c index 558200e96d0f..5a41b8f7f888 100644 --- a/drivers/input/serio/maceps2.c +++ b/drivers/input/serio/maceps2.c | |||
@@ -31,6 +31,8 @@ MODULE_LICENSE("GPL"); | |||
31 | 31 | ||
32 | #define MACE_PS2_TIMEOUT 10000 /* in 50us unit */ | 32 | #define MACE_PS2_TIMEOUT 10000 /* in 50us unit */ |
33 | 33 | ||
34 | #define BIT(x) (1UL << (x)) | ||
35 | |||
34 | #define PS2_STATUS_CLOCK_SIGNAL BIT(0) /* external clock signal */ | 36 | #define PS2_STATUS_CLOCK_SIGNAL BIT(0) /* external clock signal */ |
35 | #define PS2_STATUS_CLOCK_INHIBIT BIT(1) /* clken output signal */ | 37 | #define PS2_STATUS_CLOCK_INHIBIT BIT(1) /* clken output signal */ |
36 | #define PS2_STATUS_TX_INPROGRESS BIT(2) /* transmission in progress */ | 38 | #define PS2_STATUS_TX_INPROGRESS BIT(2) /* transmission in progress */ |