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>
This commit is contained in:
Masahiro Yamada 2016-09-21 11:28:53 +09:00 committed by Tom Rini
parent a4ca3799c2
commit b5bf5cb3b3
12 changed files with 45 additions and 45 deletions

View 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)

View 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

View File

@ -8,7 +8,7 @@
* SPDX-License-Identifier: GPL-2.0+
*/
#include "asm/io.h"
#include <asm/io.h>
#include "lcd.h"

View 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>

View 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>

View 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>

View 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"

View File

@ -10,12 +10,12 @@
* 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"

View File

@ -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)

View File

@ -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"

View 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"

View File

@ -16,12 +16,12 @@
#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;