summaryrefslogtreecommitdiff
path: root/drivers/misc/asus-laptop.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-02-20 03:07:25 +0300
committerLen Brown <len.brown@intel.com>2007-03-10 05:06:40 +0300
commitf110ef58e6c9bd562999247c5e8a5b8e722fbd11 (patch)
treea1bd0ff7050fb5ab0045d9b0c83eb115d28cfcd4 /drivers/misc/asus-laptop.c
parentd7930085c28d295b573f6862ff863ccbb8a580ce (diff)
downloadlinux-f110ef58e6c9bd562999247c5e8a5b8e722fbd11.tar.xz
asus-laptop: make code static
This patch makes some needlessly global code static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Cc: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/misc/asus-laptop.c')
-rw-r--r--drivers/misc/asus-laptop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/asus-laptop.c b/drivers/misc/asus-laptop.c
index 295e931c0dfb..4b232124a1ab 100644
--- a/drivers/misc/asus-laptop.c
+++ b/drivers/misc/asus-laptop.c
@@ -211,7 +211,7 @@ static struct workqueue_struct *led_workqueue;
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, \