summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-usb/dvb-usb-remote.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-11-02 14:38:37 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-11-02 14:38:37 -0200
commitc2882b4cfb3e32b7fee85b0f191e9988535eafdd (patch)
tree2adfaeaccff82103c42794137d7f49afdf81c3ec /linux/drivers/media/dvb/dvb-usb/dvb-usb-remote.c
parentc4a85f85d6389aef0ac3ea1256c4c86ef78b3704 (diff)
downloadmediapointer-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/dvb-usb/dvb-usb-remote.c')
-rw-r--r--linux/drivers/media/dvb/dvb-usb/dvb-usb-remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/dvb-usb-remote.c b/linux/drivers/media/dvb/dvb-usb/dvb-usb-remote.c
index 2270e228d..b47427ea6 100644
--- a/linux/drivers/media/dvb/dvb-usb/dvb-usb-remote.c
+++ b/linux/drivers/media/dvb/dvb-usb/dvb-usb-remote.c
@@ -120,7 +120,7 @@ int dvb_usb_remote_init(struct dvb_usb_device *d)
if (!input_dev)
return -ENOMEM;
- input_dev->evbit[0] = BIT(EV_KEY);
+ input_dev->evbit[0] = BIT_MASK(EV_KEY);
input_dev->name = "IR-receiver inside an USB DVB receiver";
input_dev->phys = d->rc_phys;
usb_to_input_id(d->udev, &input_dev->id);