* [RESEND] [PATCH] fujitsu-laptop: address missed led-class ifdef fixup
@ 2009-10-08 3:49 Jonathan Woithe
2009-10-09 20:48 ` Len Brown
0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Woithe @ 2009-10-08 3:49 UTC (permalink / raw)
To: linux-acpi, lenb; +Cc: Jonathan Woithe
Hi Len
It seems that the following trivial fix-up patch hasn't yet been applied to
2.6.32-rc. Hense a resend.
Regards
jonathan
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>
--- 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);
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-09 20:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-08 3:49 [RESEND] [PATCH] fujitsu-laptop: address missed led-class ifdef fixup Jonathan Woithe
2009-10-09 20:48 ` Len Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox