aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2007-10-19 02:40:35 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-19 14:53:42 -0400
commit93043ece030af58529e3e1367502461d265ab4e2 (patch)
tree48add1b72e3ebd07866089c88ad6122422f1da55 /drivers/input
parent7b19ada2ed3c1eccb9fe94d74b05e1428224663d (diff)
define global BIT macro
define global BIT macro move all local BIT defines to the new globally define macro. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Kumar Gala <galak@gate.crashing.org> Cc: Dmitry Torokhov <dtor@mail.ru> Cc: Jeff Garzik <jeff@garzik.org> Cc: James Bottomley <James.Bottomley@steeleye.com> Cc: "Antonino A. Daplas" <adaplas@pol.net> Cc: Russell King <rmk@arm.linux.org.uk> Acked-by: Ralf Baechle <ralf@linux-mips.org> Cc: "John W. Linville" <linville@tuxdriver.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/serio/maceps2.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/serio/maceps2.c b/drivers/input/serio/maceps2.c
index 5a41b8f7f888..558200e96d0f 100644
--- a/drivers/input/serio/maceps2.c
+++ b/drivers/input/serio/maceps2.c
@@ -31,8 +31,6 @@ 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
36#define PS2_STATUS_CLOCK_SIGNAL BIT(0) /* external clock signal */ 34#define PS2_STATUS_CLOCK_SIGNAL BIT(0) /* external clock signal */
37#define PS2_STATUS_CLOCK_INHIBIT BIT(1) /* clken output signal */ 35#define PS2_STATUS_CLOCK_INHIBIT BIT(1) /* clken output signal */
38#define PS2_STATUS_TX_INPROGRESS BIT(2) /* transmission in progress */ 36#define PS2_STATUS_TX_INPROGRESS BIT(2) /* transmission in progress */