Message ID | 200908310030.n7V0UmlZ001727@sprite.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);
Hi Len The following patch follows on from "[PATCH] fujitsu-laptop: support led-class as module" which has gone into -test. It's a trivial fix for one of the CONFIG_LEDS_CLASS ifdefs which was somehow missed in the original patch. Signed-off-by: Jonathan Woithe <jwoithe@physics.adelaide.edu.au> -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html