[PATCH] fixup! workqueues: Add support for delayed work
Ahmad Fatoum
ahmad at a3f.at
Fri Sep 11 15:22:16 EDT 2020
Otherwise, we run into a compile error, because get_time_ns() is used
below without declaration.
Signed-off-by: Ahmad Fatoum <ahmad at a3f.at>
---
include/work.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/work.h b/include/work.h
index 7ae596760a8b..0785bb3a8818 100644
--- a/include/work.h
+++ b/include/work.h
@@ -2,6 +2,7 @@
#define __WORK_H
#include <linux/list.h>
+#include <clock.h>
struct work_struct {
struct list_head list;
--
2.28.0
More information about the barebox
mailing list