mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 18:56:29 +00:00
dde_linux: initialize 'delayed_work' in DECLARE_DELAYED_WORK()
Fixes #2257
This commit is contained in:
parent
6f5c839df7
commit
bdb3bc0299
@ -89,7 +89,7 @@ bool flush_delayed_work(struct delayed_work *dwork);
|
||||
bool queue_work(struct workqueue_struct *wq, struct work_struct *work);
|
||||
|
||||
#define DECLARE_DELAYED_WORK(n, f) \
|
||||
struct delayed_work n
|
||||
struct delayed_work n = { .work = { .func = f }, .timer = { .function = 0 } }
|
||||
|
||||
bool mod_delayed_work(struct workqueue_struct *, struct delayed_work *,
|
||||
unsigned long);
|
||||
|
Loading…
Reference in New Issue
Block a user