base: sync: Include seq_file.h in sync.h
authorJonathan 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

index 38ea986dc70f84dc72c38918f3a3b07d26e75ff4..5f493638148d793fc29536f85179ed9711d9aa85 100644 (file)
@@ -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>