diff --git a/repos/dde_linux/src/include/lx_emul/work.h b/repos/dde_linux/src/include/lx_emul/work.h index 9bc6c6608e..b3618b3453 100644 --- a/repos/dde_linux/src/include/lx_emul/work.h +++ b/repos/dde_linux/src/include/lx_emul/work.h @@ -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);