2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 06:34:11 +08:00
linux-next/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 Input: apanel - convert to new i2c binding 2009-01-07 14:29:17 +01:00
ati_remote2.c Input: ati_remote2 - use non-atomic bitops 2009-05-19 19:24:42 -07:00
ati_remote.c USB: remove info() macro from usb input drivers 2008-10-17 14:41:10 -07:00
atlas_btns.c Input: atlas_btns - add support for loadable keymaps 2008-01-21 01:11:06 -05:00
bfin_rotary.c Input: add Blackfin rotary input driver 2009-07-23 01:15:09 -07:00
cm109.c Input: cm109 - add keymap for ATCom AU-100 phone 2008-11-11 14:02:13 -05:00
cobalt_btns.c Merge commit 'v2.6.31-rc4' into next 2009-07-22 21:47:29 -07:00
dm355evm_keys.c Input: dm355evm_keys - remove dm355evm_keys_hardirq 2009-09-17 23:24:01 -07:00
hp_sdc_rtc.c saner FASYNC handling on file close 2008-11-01 09:49:46 -07:00
ixp4xx-beeper.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
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 Input: replace remaining __FUNCTION__ occurrences 2008-05-16 14:45:58 -04:00
m68kspkr.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
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 input: PCF50633 input driver 2009-01-11 01:34:25 +01:00
pcspkr.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2009-07-22 09:25:31 -07:00
powermate.c Input: replace remaining __FUNCTION__ occurrences 2008-05-16 14:45:58 -04:00
rb532_button.c Input: add driver for S1 button of rb532 2009-03-09 20:10:12 -07:00
rotary_encoder.c Input: rotary_encoder - add support for REL_* axes 2009-04-17 20:37:21 -07:00
sgi_btns.c INPUT: sgi_btns: Add license specification 2008-10-27 16:18:28 +00:00
sparcspkr.c sparc: Annotate of_device_id arrays with const or __initdata. 2008-08-31 01:23:17 -07:00
twl4030-pwrbutton.c Input: add twl4030-pwrbutton driver 2009-04-19 23:08:41 -07:00
uinput.c Input: uinput - flush all pending ff effects before destroying device 2009-05-15 19:23:44 -07:00
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 USB: remove info() macro from usb input drivers 2008-10-17 14:41:10 -07:00
yealink.h Input: move USB miscellaneous devices under drivers/input/misc 2007-05-08 01:41:29 -04:00