ACER_WMI/ASUS_LAPTOP: fix build bug
authorIngo Molnar <mingo@elte.hu>
Tue, 29 Apr 2008 08:21:20 +0000 (10:21 +0200)
committerLen Brown <len.brown@intel.com>
Tue, 29 Apr 2008 14:10:04 +0000 (10:10 -0400)
randconfig testing in x86.git found the following upstream build bug:

 drivers/built-in.o: In function `acer_led_exit':
 acer-wmi.c:(.text+0xdc76e): undefined reference to `led_classdev_unregister'
 drivers/built-in.o: In function `acer_platform_probe':
 acer-wmi.c:(.devinit.text+0x63e6): undefined reference to `led_classdev_register'

which was due to acer-wmi.o only depending on CONFIG_LEDS_CLASS, while
also using a symbol offered by CONFIG_NEW_LEDS. Also fix a similar bug
in CONFIG_ASUS_LAPTOP.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Len Brown <len.brown@intel.com>

No differences found