V4L/DVB (13680): ir: use unsigned long instead of enum
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 14 Dec 2009 16:53:37 +0000 (13:53 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:24 +0000 (15:10 -0300)
commit971e8298dee4835fc2dfbd207a9786702aa01666
treebe01801dd5631acc72eae7c16abbf1b834c66775
parent3f831107ed8efc32960e0cd172799bb82f6c81c9
V4L/DVB (13680): ir: use unsigned long instead of enum

When preparing the linux-next patches, I got those errors:

include/media/ir-core.h:29: warning: left shift count >= width of type
In file included from include/media/ir-common.h:29,
                 from drivers/media/video/ir-kbd-i2c.c:50:
drivers/media/video/ir-kbd-i2c.c: In function ‘ir_probe’:
drivers/media/video/ir-kbd-i2c.c:324: warning: left shift count >= width of type

Unfortunately, enum is 32 bits on i386. As we define IR_TYPE_OTHER as 1<<63,
it won't work on non 64 bits arch.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/IR/ir-functions.c
drivers/media/IR/ir-sysfs.c
drivers/media/dvb/dm1105/dm1105.c
drivers/media/video/bt8xx/bttv-input.c
drivers/media/video/cx88/cx88-input.c
drivers/media/video/em28xx/em28xx-input.c
drivers/media/video/ir-kbd-i2c.c
drivers/media/video/saa7134/saa7134-input.c
include/media/ir-common.h
include/media/ir-core.h
include/media/ir-kbd-i2c.h