projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4c4e2a
)
fujitsu-laptop: address missed led-class ifdef fixup
author
Jonathan Woithe
<
[email protected]
>
Thu, 8 Oct 2009 03:49:12 +0000
(13:19 +0930)
committer
Len Brown
<
[email protected]
>
Fri, 9 Oct 2009 20:49:57 +0000
(16:49 -0400)
A follow-up 2.6.32-rc1's
1e384cb0f9a940f2a431d1708f963987e61d71e3
"fujitsu-laptop: support led-class as module"
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 <
[email protected]
>
Signed-off-by: Len Brown <
[email protected]
>
drivers/platform/x86/fujitsu-laptop.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/fujitsu-laptop.c
b/drivers/platform/x86/fujitsu-laptop.c
index f35aee5c21491ebc763bdff1e5a41a6fdba147dd..bcd4ba8be7db4781699d7d862d81d2372160e368 100644
(file)
--- 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;
-#if
def CONFIG_LEDS_CLASS
+#if
defined(CONFIG_LEDS_CLASS) || defined(CONFIG_LEDS_CLASS_MODULE)
if (fujitsu_hotkey->logolamp_registered)
led_classdev_unregister(&logolamp_led);