提交 f2c4826c 编写于 作者: J Jiri Kosina

HID: picolcd: make fb_pending_lock and picolcd_fb_cleanup static

Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 b3c21d2c
...@@ -632,7 +632,7 @@ struct picolcd_fb_cleanup_item { ...@@ -632,7 +632,7 @@ struct picolcd_fb_cleanup_item {
struct picolcd_fb_cleanup_item *next; struct picolcd_fb_cleanup_item *next;
}; };
static struct picolcd_fb_cleanup_item *fb_pending; static struct picolcd_fb_cleanup_item *fb_pending;
DEFINE_SPINLOCK(fb_pending_lock); static DEFINE_SPINLOCK(fb_pending_lock);
static void picolcd_fb_do_cleanup(struct work_struct *data) static void picolcd_fb_do_cleanup(struct work_struct *data)
{ {
...@@ -657,7 +657,7 @@ static void picolcd_fb_do_cleanup(struct work_struct *data) ...@@ -657,7 +657,7 @@ static void picolcd_fb_do_cleanup(struct work_struct *data)
} while (item); } while (item);
} }
DECLARE_WORK(picolcd_fb_cleanup, picolcd_fb_do_cleanup); static DECLARE_WORK(picolcd_fb_cleanup, picolcd_fb_do_cleanup);
static int picolcd_fb_open(struct fb_info *info, int u) static int picolcd_fb_open(struct fb_info *info, int u)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册