]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
asus-laptop: make code static
authorAdrian Bunk <bunk@stusta.de>
Tue, 20 Feb 2007 00:07:25 +0000 (01:07 +0100)
committerLen Brown <len.brown@intel.com>
Sat, 10 Mar 2007 02:06:40 +0000 (21:06 -0500)
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>
drivers/misc/asus-laptop.c

index 295e931c0dfbc9c3442e8d7d25bad333a982d021..4b232124a1abb0dea3b9e737062250e3988b968c 100644 (file)
@@ -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,                     \