summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2009-10-15 06:47:13 +0200
committerLen Brown <len.brown@intel.com>2009-10-15 06:47:13 +0200
commitd59733c1e56784a99381799021c4f9698f3e6379 (patch)
treeeee7c84624df2aedeefc9c6eef9577f4ef6d4da5 /drivers/platform
parentMerge branch 'launchpad-333386' into release (diff)
parentACPI button: don't try to use a non-existent lid device (diff)
downloadlinux-d59733c1e56784a99381799021c4f9698f3e6379.tar.xz
linux-d59733c1e56784a99381799021c4f9698f3e6379.zip
Merge branch 'misc' into release
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/fujitsu-laptop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/fujitsu-laptop.c b/drivers/platform/x86/fujitsu-laptop.c
index f35aee5c2149..bcd4ba8be7db 100644
--- a/drivers/platform/x86/fujitsu-laptop.c
+++ b/drivers/platform/x86/fujitsu-laptop.c
@@ -944,7 +944,7 @@ static int acpi_fujitsu_hotkey_remove(struct acpi_device *device, int type)
struct fujitsu_hotkey_t *fujitsu_hotkey = acpi_driver_data(device);
struct input_dev *input = fujitsu_hotkey->input;
-#ifdef CONFIG_LEDS_CLASS
+#if defined(CONFIG_LEDS_CLASS) || defined(CONFIG_LEDS_CLASS_MODULE)
if (fujitsu_hotkey->logolamp_registered)
led_classdev_unregister(&logolamp_led);