aboutsummaryrefslogtreecommitdiffstats
path: root/fs/yaffs2
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-09-21 11:28:53 +0900
committerTom Rini <trini@konsulko.com>2016-09-23 17:53:56 -0400
commitb5bf5cb3b3e81298247a53d5b514cf941cd13a9f (patch)
tree4c1aca23057918df6d173cc2be713111f6daf836 /fs/yaffs2
parenta4ca3799c2edf2b805f804a07d234a9e5eaae60f (diff)
downloadu-boot-midas-b5bf5cb3b3e81298247a53d5b514cf941cd13a9f.tar.gz
u-boot-midas-b5bf5cb3b3e81298247a53d5b514cf941cd13a9f.tar.bz2
u-boot-midas-b5bf5cb3b3e81298247a53d5b514cf941cd13a9f.zip
treewide: use #include <...> to include public headers
We are supposed to use #include <...> to include headers in the public include paths. We should use #include "..." only for headers in local directories. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'fs/yaffs2')
-rw-r--r--fs/yaffs2/yaffs_mtdif.c8
-rw-r--r--fs/yaffs2/yaffs_mtdif2.c8
-rw-r--r--fs/yaffs2/ydirectenv.h2
3 files changed, 9 insertions, 9 deletions
diff --git a/fs/yaffs2/yaffs_mtdif.c b/fs/yaffs2/yaffs_mtdif.c
index 6fcba047f9..636c7770e2 100644
--- a/fs/yaffs2/yaffs_mtdif.c
+++ b/fs/yaffs2/yaffs_mtdif.c
@@ -19,10 +19,10 @@
#include "yaffs_mtdif.h"
-#include "linux/mtd/mtd.h"
-#include "linux/types.h"
-#include "linux/time.h"
-#include "linux/mtd/nand.h"
+#include <linux/mtd/mtd.h>
+#include <linux/types.h>
+#include <linux/time.h>
+#include <linux/mtd/nand.h>
static inline void translate_spare2oob(const struct yaffs_spare *spare, u8 *oob)
diff --git a/fs/yaffs2/yaffs_mtdif2.c b/fs/yaffs2/yaffs_mtdif2.c
index 234cb706df..777486cd07 100644
--- a/fs/yaffs2/yaffs_mtdif2.c
+++ b/fs/yaffs2/yaffs_mtdif2.c
@@ -15,16 +15,16 @@
/* XXX U-BOOT XXX */
#include <common.h>
-#include "asm/errno.h"
+#include <asm/errno.h>
#include "yportenv.h"
#include "yaffs_trace.h"
#include "yaffs_mtdif2.h"
-#include "linux/mtd/mtd.h"
-#include "linux/types.h"
-#include "linux/time.h"
+#include <linux/mtd/mtd.h>
+#include <linux/types.h>
+#include <linux/time.h>
#include "yaffs_trace.h"
#include "yaffs_packedtags2.h"
diff --git a/fs/yaffs2/ydirectenv.h b/fs/yaffs2/ydirectenv.h
index 2b3e84fd38..d274f22e84 100644
--- a/fs/yaffs2/ydirectenv.h
+++ b/fs/yaffs2/ydirectenv.h
@@ -75,7 +75,7 @@ void yaffs_qsort(void *aa, size_t n, size_t es,
#define YAFFS_ROOT_MODE 0666
#define YAFFS_LOSTNFOUND_MODE 0666
-#include "linux/list.h"
+#include <linux/list.h>
#include "yaffsfs.h"