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 /board/socrates | |
parent | c0ad62c5f7535bf13b24aab103356f827f40d0cd (diff) | |
download | u-boot-1cefed1e39f0038ac6afd9e0c48b8b85fb458fbc.tar.gz u-boot-1cefed1e39f0038ac6afd9e0c48b8b85fb458fbc.tar.bz2 u-boot-1cefed1e39f0038ac6afd9e0c48b8b85fb458fbc.zip |
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 'board/socrates')
-rw-r--r-- | board/socrates/nand.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/socrates/nand.c b/board/socrates/nand.c index 07c493679b..9b7ffee83a 100644 --- a/board/socrates/nand.c +++ b/board/socrates/nand.c @@ -9,6 +9,7 @@ #if defined(CONFIG_SYS_NAND_BASE) #include <nand.h> #include <linux/errno.h> +#include <linux/mtd/rawnand.h> #include <asm/io.h> static int state; |