tmp_suning_uos_patched/drivers/input/misc
Ingo Molnar d2b5ec3aa0 input: fix build failures caused by Kconfig Winbond WPCD376I Consumer IR hardware driver Kconfig entry
Fix these warnings:

  drivers/built-in.o: In function `apanel_remove':
  apanel.c:(.text+0x56e852): undefined reference to `led_classdev_unregister'
  drivers/built-in.o: In function `apanel_probe':
  apanel.c:(.text+0x56eae3): undefined reference to `led_classdev_register'
  drivers/built-in.o: In function `acpi_fujitsu_hotkey_add':
  fujitsu-laptop.c:(.text+0x5d7647): undefined reference to `led_classdev_register'
  fujitsu-laptop.c:(.text+0x5d76b5): undefined reference to `led_classdev_register'
  drivers/built-in.o: In function `wbcir_probe':
  winbond-cir.c:(.devinit.text+0x5f375): undefined reference to `led_classdev_register'
  winbond-cir.c:(.devinit.text+0x5f663): undefined reference to `led_classdev_unregister'
  drivers/built-in.o: In function `wbcir_remove':
  winbond-cir.c:(.devexit.text+0x7f23): undefined reference to `led_classdev_unregister'
  drivers/built-in.o: In function `fujitsu_cleanup':
  fujitsu-laptop.c:(.exit.text+0xbe37): undefined reference to `led_classdev_unregister'
  fujitsu-laptop.c:(.exit.text+0xbe53): undefined reference to `led_classdev_unregister'

It happens because the new INPUT_WINBOND_CIR driver relies on new-leds
infrastructure - but does not select it in drivers/input/misc/Kconfig.
But it selects LEDS_CLASS, which confuses a number of other drivers into
thinking that all the leds infrastructure is in place.

Fix this by selecting NEW_LEDS as well, like similar drivers do.

Eventually, this whole leds infrastructure complexity should be
cleaned up, it's been going on for years.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: Dmitry Torokhov <dtor@mail.ru>
Cc: David Härdeman <david@hardeman.nu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-09-24 07:20:56 -07:00
..
apanel.c
ati_remote2.c
ati_remote.c
atlas_btns.c
bfin_rotary.c
cm109.c
cobalt_btns.c
dm355evm_keys.c Input: dm355evm_keys - remove dm355evm_keys_hardirq 2009-09-17 23:24:01 -07:00
hp_sdc_rtc.c
ixp4xx-beeper.c
Kconfig input: fix build failures caused by Kconfig Winbond WPCD376I Consumer IR hardware driver Kconfig entry 2009-09-24 07:20:56 -07:00
keyspan_remote.c
m68kspkr.c
Makefile input: add a driver for the Winbond WPCD376I Consumer IR hardware 2009-09-22 07:17:49 -07:00
pcap_keys.c input: PCAP2 misc input driver 2009-09-17 09:47:12 +02:00
pcf50633-input.c
pcspkr.c
powermate.c
rb532_button.c
rotary_encoder.c
sgi_btns.c
sparcspkr.c
twl4030-pwrbutton.c
uinput.c
winbond-cir.c input: add a driver for the Winbond WPCD376I Consumer IR hardware 2009-09-22 07:17:49 -07:00
wistron_btns.c Input: wistron_btns - add keymap for AOpen 1557 2009-09-13 09:12:21 -07:00
wm831x-on.c input: Add support for the WM831x ON pin 2009-09-17 09:47:02 +02:00
yealink.c
yealink.h