mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] fixup! workqueues: Add support for delayed work
@ 2020-09-11 19:22 Ahmad Fatoum
  2020-09-14  8:17 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2020-09-11 19:22 UTC (permalink / raw)
  To: barebox

Otherwise, we run into a compile error, because get_time_ns() is used
below without declaration.

Signed-off-by: Ahmad Fatoum <ahmad@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


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-14  8:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-11 19:22 [PATCH] fixup! workqueues: Add support for delayed work Ahmad Fatoum
2020-09-14  8:17 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox