diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-11-02 14:38:37 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-11-02 14:38:37 -0200 |
commit | c2882b4cfb3e32b7fee85b0f191e9988535eafdd (patch) | |
tree | 2adfaeaccff82103c42794137d7f49afdf81c3ec /linux/drivers/media/dvb/cinergyT2/cinergyT2.c | |
parent | c4a85f85d6389aef0ac3ea1256c4c86ef78b3704 (diff) | |
download | mediapointer-dvb-s2-c2882b4cfb3e32b7fee85b0f191e9988535eafdd.tar.gz mediapointer-dvb-s2-c2882b4cfb3e32b7fee85b0f191e9988535eafdd.tar.bz2 |
backport changeset 7b19ada2ed3c1eccb9fe94d74b05e1428224663d
kernel-sync:
Author: Jiri Slaby <jirislaby@gmail.com>
Date: Thu Oct 18 23:40:32 2007 -0700
get rid of input BIT* duplicate defines
get rid of input BIT* duplicate defines
use newly global defined macros for input layer. Also remove includes of
input.h from non-input sources only for BIT macro definiton. Define the
macro temporarily in local manner, all those local definitons will be
removed further in this patchset (to not break bisecting).
BIT macro will be globally defined (1<<x)
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/dvb/cinergyT2/cinergyT2.c')
-rw-r--r-- | linux/drivers/media/dvb/cinergyT2/cinergyT2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/cinergyT2/cinergyT2.c b/linux/drivers/media/dvb/cinergyT2/cinergyT2.c index 0a8f40291..c33afb6ea 100644 --- a/linux/drivers/media/dvb/cinergyT2/cinergyT2.c +++ b/linux/drivers/media/dvb/cinergyT2/cinergyT2.c @@ -878,7 +878,7 @@ static int cinergyt2_register_rc(struct cinergyt2 *cinergyt2) input_dev->name = DRIVER_NAME " remote control"; input_dev->phys = cinergyt2->phys; - input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_REP); + input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REP); for (i = 0; i < ARRAY_SIZE(rc_keys); i += 3) set_bit(rc_keys[i + 2], input_dev->keybit); input_dev->keycodesize = 0; |