From: Ingo Molnar Date: Tue, 29 Apr 2008 08:21:20 +0000 (+0200) Subject: ACER_WMI/ASUS_LAPTOP: fix build bug X-Git-Tag: v2.6.26-rc1~101^2~1^8~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7ae1e7ef9b4ef50444a49611dab92cb778eb97c;p=pandora-kernel.git 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 Signed-off-by: Len Brown --- Reading git-diff-tree failed