diff options
author | Tom Rini <trini@konsulko.com> | 2021-09-22 21:50:35 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-10-06 16:16:23 +0300 |
commit | 1cefed1e39f0038ac6afd9e0c48b8b85fb458fbc (patch) | |
tree | 373fc4f509981fb035efc0c9d62664b681bdf83b /fs | |
parent | c0ad62c5f7535bf13b24aab103356f827f40d0cd (diff) | |
download | u-boot-1cefed1e39f0038ac6afd9e0c48b8b85fb458fbc.tar.xz |
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 'fs')
-rw-r--r-- | fs/yaffs2/yaffs_uboot_glue.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/yaffs2/yaffs_uboot_glue.c b/fs/yaffs2/yaffs_uboot_glue.c index 7a15a02974..ec8d028316 100644 --- a/fs/yaffs2/yaffs_uboot_glue.c +++ b/fs/yaffs2/yaffs_uboot_glue.c @@ -35,6 +35,7 @@ #else #include "malloc.h" #endif +#include <linux/mtd/rawnand.h> unsigned yaffs_trace_mask = 0x0; /* Disable logging */ static int yaffs_errno; |