base: sync: Include seq_file.h in sync.h 48/164848/1
authorJonathan Hamilton <jonathan.hamilton@imgtec.com>
Fri, 8 Feb 2013 21:05:38 +0000 (13:05 -0800)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 21 Dec 2017 07:44:56 +0000 (16:44 +0900)
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>
[sw0312.kim: cherry-pick the commit d37806bb7617 from https://android.googlesource.com/kernel/common to fix build warning]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I42183b09a64e26d57c5f176757f691378ffd578e

include/linux/sync.h

index 38ea986..5f49363 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>