V4L/DVB: media/IR: nec-decoder needs to select BITREV
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 26 May 2010 17:08:51 +0000 (14:08 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 2 Aug 2010 17:55:25 +0000 (14:55 -0300)
Fix ir-nec-decoder build: it uses bitrev library code, so
select BITREVERSE in its Kconfig.

ir-nec-decoder.c:(.text+0x1a2517): undefined reference to `byte_rev_table'
ir-nec-decoder.c:(.text+0x1a2526): undefined reference to `byte_rev_table'
ir-nec-decoder.c:(.text+0x1a2530): undefined reference to `byte_rev_table'
ir-nec-decoder.c:(.text+0x1a2539): undefined reference to `byte_rev_table'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/IR/Kconfig

index 07fca4c5165a6b8b2fafff2c0f5213c280053dad..797a6c36d984d9f856ffba52c65fd6b2efd495b8 100644 (file)
@@ -33,6 +33,7 @@ config IR_RC5_DECODER
 config IR_RC6_DECODER
        tristate "Enable IR raw decoder for the RC6 protocol"
        depends on IR_CORE
+       select BITREVERSE
        default y
 
        ---help---