[media] ir-core: more cleanups of ir-functions.c
authorDavid Härdeman <david@hardeman.nu>
Fri, 29 Oct 2010 19:08:12 +0000 (16:08 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 29 Dec 2010 10:16:36 +0000 (08:16 -0200)
commit3ffea4988be3f3fa65f2104ba31eff2b5e0e82a0
tree615e94196988cf5c37eeb80953d98fa4d9b91527
parent62c6503125389763a74911408d984c5dd09eeb97
[media] ir-core: more cleanups of ir-functions.c

cx88 only depends on VIDEO_IR because it needs ir_extract_bits().
Move that function to ir-core.h and make it inline.

Lots of drivers had dependencies on VIDEO_IR when they really
wanted IR_CORE.

The only remaining drivers to depend on VIDEO_IR are bt8xx and
saa7134 (ir_rc5_timer_end is the only function exported by
ir-functions).

Rename VIDEO_IR -> IR_LEGACY to give a hint to anyone writing or
converting drivers to IR_CORE that they do not want a dependency
on IR_LEGACY.

Signed-off-by: David Härdeman <david@hardeman.nu>
Acked-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
19 files changed:
drivers/media/IR/Kconfig
drivers/media/IR/Makefile
drivers/media/IR/ir-functions.c
drivers/media/dvb/dm1105/Kconfig
drivers/media/dvb/ttpci/Kconfig
drivers/media/video/Kconfig
drivers/media/video/bt8xx/Kconfig
drivers/media/video/cx18/Kconfig
drivers/media/video/cx231xx/Kconfig
drivers/media/video/cx88/Kconfig
drivers/media/video/cx88/cx88-input.c
drivers/media/video/em28xx/Kconfig
drivers/media/video/ivtv/Kconfig
drivers/media/video/saa7134/Kconfig
drivers/media/video/tlg2300/Kconfig
drivers/staging/cx25821/Kconfig
drivers/staging/go7007/Kconfig
include/media/ir-common.h
include/media/ir-core.h