diff options
author | Jiri Kosina <jkosina@suse.cz> | 2011-11-22 17:25:28 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-11-22 17:25:28 -0500 |
commit | f2c4826c685b1ad9afdcef3649e3e60a3348491c (patch) | |
tree | 3764783ba596ea6064b649bca3952b15a652a176 /drivers/hid | |
parent | b3c21d2cadd568d31db72f37c52bd1d501d1be13 (diff) |
HID: picolcd: make fb_pending_lock and picolcd_fb_cleanup static
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/hid-picolcd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hid/hid-picolcd.c b/drivers/hid/hid-picolcd.c index 1782693819f3..530cd3081202 100644 --- a/drivers/hid/hid-picolcd.c +++ b/drivers/hid/hid-picolcd.c | |||
@@ -632,7 +632,7 @@ struct picolcd_fb_cleanup_item { | |||
632 | struct picolcd_fb_cleanup_item *next; | 632 | struct picolcd_fb_cleanup_item *next; |
633 | }; | 633 | }; |
634 | static struct picolcd_fb_cleanup_item *fb_pending; | 634 | static struct picolcd_fb_cleanup_item *fb_pending; |
635 | DEFINE_SPINLOCK(fb_pending_lock); | 635 | static DEFINE_SPINLOCK(fb_pending_lock); |
636 | 636 | ||
637 | static void picolcd_fb_do_cleanup(struct work_struct *data) | 637 | static void picolcd_fb_do_cleanup(struct work_struct *data) |
638 | { | 638 | { |
@@ -657,7 +657,7 @@ static void picolcd_fb_do_cleanup(struct work_struct *data) | |||
657 | } while (item); | 657 | } while (item); |
658 | } | 658 | } |
659 | 659 | ||
660 | DECLARE_WORK(picolcd_fb_cleanup, picolcd_fb_do_cleanup); | 660 | static DECLARE_WORK(picolcd_fb_cleanup, picolcd_fb_do_cleanup); |
661 | 661 | ||
662 | static int picolcd_fb_open(struct fb_info *info, int u) | 662 | static int picolcd_fb_open(struct fb_info *info, int u) |
663 | { | 663 | { |