LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [2.6 patch] drivers/misc/asus-laptop.c: make code static
@ 2007-02-20  0:07 Adrian Bunk
  2007-03-10  2:07 ` Len Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2007-02-20  0:07 UTC (permalink / raw)
  To: Corentin Chary, Len Brown; +Cc: linux-kernel

This patch makes some needlessly global code static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---
--- linux-2.6.20-mm1/drivers/misc/asus-laptop.c.old	2007-02-18 01:06:30.000000000 +0100
+++ linux-2.6.20-mm1/drivers/misc/asus-laptop.c	2007-02-18 01:06:43.000000000 +0100
@@ -211,7 +211,7 @@
 				     enum led_brightness value);	\
 	static void object##_led_update(struct work_struct *ignored);	\
 	static int object##_led_wk;					\
-	DECLARE_WORK(object##_led_work, object##_led_update);		\
+	static DECLARE_WORK(object##_led_work, object##_led_update);	\
 	static struct led_classdev object##_led = {			\
 		.name           = "asus:" ledname,			\
 		.brightness_set = object##_led_set,			\


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-03-10  2:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-20  0:07 [2.6 patch] drivers/misc/asus-laptop.c: make code static Adrian Bunk
2007-03-10  2:07 ` Len Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).