treewide: use #include <...> to include public headers
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 21 Sep 2016 02:28:53 +0000 (11:28 +0900)
committerTom Rini <trini@konsulko.com>
Fri, 23 Sep 2016 21:53:56 +0000 (17:53 -0400)
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>
12 files changed:
arch/powerpc/cpu/mpc83xx/qe_io.c
arch/powerpc/cpu/mpc85xx/qe_io.c
board/esd/common/lcd.c
board/htkw/mcx/mcx.c
drivers/qe/qe.c
drivers/qe/uccf.c
drivers/qe/uec.c
drivers/qe/uec_phy.c
fs/yaffs2/yaffs_mtdif.c
fs/yaffs2/yaffs_mtdif2.c
fs/yaffs2/ydirectenv.h
include/linux/mtd/nand.h

index 106704d65d4bd3c0589fe6e7c0c52cb339f8f0f1..0e605f8ab4a39c8a9395e44989b3917dfb00c945 100644 (file)
@@ -7,10 +7,10 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include "common.h"
-#include "asm/errno.h"
-#include "asm/io.h"
-#include "asm/immap_83xx.h"
+#include <common.h>
+#include <asm/errno.h>
+#include <asm/io.h>
+#include <asm/immap_83xx.h>
 
 #define        NUM_OF_PINS     32
 void qe_config_iopin(u8 port, u8 pin, int dir, int open_drain, int assign)
index d2825ec36eca67773c1265585a6a56d4750dcbbe..d805c22bc017d8489bc6f5f8cdfa3c5ee16d1d3e 100644 (file)
@@ -7,10 +7,10 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include "common.h"
-#include "asm/errno.h"
-#include "asm/io.h"
-#include "asm/immap_85xx.h"
+#include <common.h>
+#include <asm/errno.h>
+#include <asm/io.h>
+#include <asm/immap_85xx.h>
 
 #if defined(CONFIG_QE) && !defined(CONFIG_U_QE)
 #define        NUM_OF_PINS     32
index 22a59e448378bc0df1fa36a058e1d5753aa2e1a9..29421fce2ee772bcc4815e355c59ab80a8556790 100644 (file)
@@ -8,7 +8,7 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include "asm/io.h"
+#include <asm/io.h>
 #include "lcd.h"
 
 
index 4330cf0ddb51e1df072eacd00752d64feee041d2..5ef383d97122f4528883078b32ac0e124d8fee23 100644 (file)
@@ -17,7 +17,7 @@
 #include <asm/omap_gpio.h>
 #include <asm/arch/dss.h>
 #include <asm/arch/clock.h>
-#include "errno.h"
+#include <errno.h>
 #include <i2c.h>
 #ifdef CONFIG_USB_EHCI
 #include <usb.h>
index 2b98984ef26d5f777dc4bcdcfb50cc74b7d02599..7e74212424aeb91182892c901cb466f64bf23d37 100644 (file)
@@ -7,11 +7,11 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include "common.h"
+#include <common.h>
 #include <command.h>
-#include "asm/errno.h"
-#include "asm/io.h"
-#include "linux/immap_qe.h"
+#include <asm/errno.h>
+#include <asm/io.h>
+#include <linux/immap_qe.h>
 #include <fsl_qe.h>
 #ifdef CONFIG_LS102XA
 #include <asm/arch/immap_ls102xa.h>
index e01188650524cfa48f4659fad9ea168d7e2642d5..ae4ca350481ddfbd3b17b0089ad62d147d5bd0b0 100644 (file)
@@ -7,11 +7,11 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include "common.h"
-#include "malloc.h"
-#include "asm/errno.h"
-#include "asm/io.h"
-#include "linux/immap_qe.h"
+#include <common.h>
+#include <malloc.h>
+#include <asm/errno.h>
+#include <asm/io.h>
+#include <linux/immap_qe.h>
 #include "uccf.h"
 #include <fsl_qe.h>
 
index 468c92ebced50feb0c991824a404b72fc6f93afb..af975386732ce50470abd9bddc9aa7d49bf4e15b 100644 (file)
@@ -6,12 +6,12 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include "common.h"
-#include "net.h"
-#include "malloc.h"
-#include "asm/errno.h"
-#include "asm/io.h"
-#include "linux/immap_qe.h"
+#include <common.h>
+#include <net.h>
+#include <malloc.h>
+#include <asm/errno.h>
+#include <asm/io.h>
+#include <linux/immap_qe.h>
 #include "uccf.h"
 #include "uec.h"
 #include "uec_phy.h"
index 272874d3b05fb715725aa6a08597575d6a2ae6eb..be90d943f14ebbcf415476d784382deee02373a6 100644 (file)
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include "common.h"
-#include "net.h"
-#include "malloc.h"
-#include "asm/errno.h"
-#include "linux/immap_qe.h"
-#include "asm/io.h"
+#include <common.h>
+#include <net.h>
+#include <malloc.h>
+#include <asm/errno.h>
+#include <linux/immap_qe.h>
+#include <asm/io.h>
 #include "uccf.h"
 #include "uec.h"
 #include "uec_phy.h"
index 6fcba047f968cc7b249cb6ada5eca1c89133696b..636c7770e2014a391ab96b140139af9f6aaddcf4 100644 (file)
 
 #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)
index 234cb706dfb413a1d213879e006c3ecad23b93ac..777486cd0778e7b601042ee81d643046fec79365 100644 (file)
 
 /* 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"
index 2b3e84fd383fd5ebe23338713d71bb5da0da562a..d274f22e84d0eab39b9a7f1670d0e53e30d87527 100644 (file)
@@ -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"
 
index 87d72dbad6681387f19b9f2235779e89535d86bc..d55807b2e27902fcdd4054238a5b1f522cec13d4 100644 (file)
 #ifndef __LINUX_MTD_NAND_H
 #define __LINUX_MTD_NAND_H
 
-#include "config.h"
+#include <config.h>
 
-#include "linux/compat.h"
-#include "linux/mtd/mtd.h"
-#include "linux/mtd/flashchip.h"
-#include "linux/mtd/bbm.h"
+#include <linux/compat.h>
+#include <linux/mtd/mtd.h>
+#include <linux/mtd/flashchip.h>
+#include <linux/mtd/bbm.h>
 
 struct mtd_info;
 struct nand_flash_dev;