projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bb33fd
)
base: sync: Include seq_file.h in sync.h
author
Jonathan Hamilton
<jonathan.hamilton@imgtec.com>
Fri, 8 Feb 2013 21:05:38 +0000
(13:05 -0800)
committer
黄涛
<huangtao@rock-chips.com>
Fri, 22 Feb 2013 09:47:22 +0000
(17:47 +0800)
sync.h uses struct seq_file in some function table prototypes. This
causes compile failures when including the header in files that do not
otherwise include seq_file.h
Signed-off-by: Jonathan Hamilton <jonathan.hamilton@imgtec.com>
include/linux/sync.h
patch
|
blob
|
history
diff --git
a/include/linux/sync.h
b/include/linux/sync.h
index 38ea986dc70f84dc72c38918f3a3b07d26e75ff4..5f493638148d793fc29536f85179ed9711d9aa85 100644
(file)
--- a/
include/linux/sync.h
+++ b/
include/linux/sync.h
@@
-19,6
+19,7
@@
#include <linux/kref.h>
#include <linux/ktime.h>
#include <linux/list.h>
+#include <linux/seq_file.h>
#include <linux/spinlock.h>
#include <linux/wait.h>