Message ID | 200910080349.n983nCmJ006616@turbo.physics.adelaide.edu.au (mailing list archive) |
---|---|
State | RFC, archived |
Headers | show |
--- a/drivers/platform/x86/fujitsu-laptop.c 2009-08-31 09:52:14.242247260 +0930 +++ b/drivers/platform/x86/fujitsu-laptop.c 2009-08-31 09:53:18.812961106 +0930 @@ -944,7 +944,7 @@ 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);