]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commite7ae1e7ef9b4ef50444a49611dab92cb778eb97c
treef2d02f18bacb08999fc36af0318d5683f22e6ba6
parent90fe17f4df2f830601ffd422b11d1f7f9a9d0355
ACER_WMI/ASUS_LAPTOP: fix build bug

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>
drivers/misc/Kconfig