diff options
author | Tom Rini <trini@konsulko.com> | 2021-09-22 14:50:35 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-10-06 09:16:23 -0400 |
commit | 1cefed1e39f0038ac6afd9e0c48b8b85fb458fbc (patch) | |
tree | 373fc4f509981fb035efc0c9d62664b681bdf83b /arch | |
parent | c0ad62c5f7535bf13b24aab103356f827f40d0cd (diff) | |
download | u-boot-1cefed1e39f0038ac6afd9e0c48b8b85fb458fbc.zip u-boot-1cefed1e39f0038ac6afd9e0c48b8b85fb458fbc.tar.gz u-boot-1cefed1e39f0038ac6afd9e0c48b8b85fb458fbc.tar.bz2 |
nand.h: Cleanup linux/mtd/rawnand.h usage
We only include <linux/mtd/rawnand.h> in <nand.h> for the forward
declaration of struct nand_chip, so do that directly. Then, include
<linux/mtd/rawnand.h> where required directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/include/asm/ti-common/davinci_nand.h | 1 | ||||
-rw-r--r-- | arch/arm/mach-imx/cmd_nandbcb.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/ti-common/davinci_nand.h b/arch/arm/include/asm/ti-common/davinci_nand.h index ffaac68..a4cc27e 100644 --- a/arch/arm/include/asm/ti-common/davinci_nand.h +++ b/arch/arm/include/asm/ti-common/davinci_nand.h @@ -9,7 +9,6 @@ #ifndef _DAVINCI_NAND_H_ #define _DAVINCI_NAND_H_ -#include <linux/mtd/rawnand.h> #include <asm/arch/hardware.h> #define NAND_READ_START 0x00 diff --git a/arch/arm/mach-imx/cmd_nandbcb.c b/arch/arm/mach-imx/cmd_nandbcb.c index cd51344..09622c1 100644 --- a/arch/arm/mach-imx/cmd_nandbcb.c +++ b/arch/arm/mach-imx/cmd_nandbcb.c @@ -23,6 +23,7 @@ #include <jffs2/jffs2.h> #include <linux/bch.h> #include <linux/mtd/mtd.h> +#include <linux/mtd/rawnand.h> #include <asm/arch/sys_proto.h> #include <asm/mach-imx/imx-nandbcb.h> |