diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-04-29 04:21:20 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-04-29 10:10:04 -0400 |
commit | e7ae1e7ef9b4ef50444a49611dab92cb778eb97c (patch) | |
tree | f2d02f18bacb08999fc36af0318d5683f22e6ba6 /drivers/misc/Kconfig | |
parent | 90fe17f4df2f830601ffd422b11d1f7f9a9d0355 (diff) |
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>
Diffstat (limited to 'drivers/misc/Kconfig')
-rw-r--r-- | drivers/misc/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 297a48f85446..38cce4d1e2fb 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig | |||
@@ -140,6 +140,7 @@ config ACER_WMI | |||
140 | depends on EXPERIMENTAL | 140 | depends on EXPERIMENTAL |
141 | depends on ACPI | 141 | depends on ACPI |
142 | depends on LEDS_CLASS | 142 | depends on LEDS_CLASS |
143 | depends on NEW_LEDS | ||
143 | depends on BACKLIGHT_CLASS_DEVICE | 144 | depends on BACKLIGHT_CLASS_DEVICE |
144 | depends on SERIO_I8042 | 145 | depends on SERIO_I8042 |
145 | select ACPI_WMI | 146 | select ACPI_WMI |
@@ -160,6 +161,7 @@ config ASUS_LAPTOP | |||
160 | depends on ACPI | 161 | depends on ACPI |
161 | depends on EXPERIMENTAL && !ACPI_ASUS | 162 | depends on EXPERIMENTAL && !ACPI_ASUS |
162 | depends on LEDS_CLASS | 163 | depends on LEDS_CLASS |
164 | depends on NEW_LEDS | ||
163 | depends on BACKLIGHT_CLASS_DEVICE | 165 | depends on BACKLIGHT_CLASS_DEVICE |
164 | ---help--- | 166 | ---help--- |
165 | This is the new Linux driver for Asus laptops. It may also support some | 167 | This is the new Linux driver for Asus laptops. It may also support some |