[PATCH -mmotm] input/winbond-cir: select BITREVERSE

From: Randy Dunlap
Date: Fri Jul 31 2009 - 17:46:27 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

winbond-cir driver uses bitreverse functions so it needs to
select BITREVERSE to fix these build errors:

drivers/built-in.o: In function `wbcir_shutdown':
winbond-cir.c:(.text+0x104fc7): undefined reference to `byte_rev_table'
winbond-cir.c:(.text+0x104fd8): undefined reference to `byte_rev_table'
winbond-cir.c:(.text+0x104ff4): undefined reference to `byte_rev_table'
drivers/built-in.o: In function `wbcir_irq_handler':
winbond-cir.c:(.text+0x105f47): undefined reference to `byte_rev_table'
winbond-cir.c:(.text+0x105f5f): undefined reference to `byte_rev_table'
drivers/built-in.o:winbond-cir.c:(.text+0x105f77): more undefined references to `byte_rev_table' follow

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
Cc: David Härdeman <david@xxxxxxxxxxx>
---
drivers/input/misc/Kconfig | 1 +
1 file changed, 1 insertion(+)

--- mmotm-2009-0730-0501.orig/drivers/input/misc/Kconfig
+++ mmotm-2009-0730-0501/drivers/input/misc/Kconfig
@@ -226,6 +226,7 @@ config INPUT_WINBOND_CIR
tristate "Winbond IR remote control"
depends on X86 && ACPI
select LEDS_CLASS
+ select BITREVERSE
help
Say Y here if you want to use the IR remote functionality found
in some Winbond SuperI/O chips. Currently only the WPCD376I



---
~Randy
LPC 2009, Sept. 23-25, Portland, Oregon
http://linuxplumbersconf.org/2009/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/