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>
This commit is contained in:
Tom Rini
2021-09-22 14:50:35 -04:00
parent c0ad62c5f7
commit 1cefed1e39
37 changed files with 37 additions and 2 deletions

View File

@@ -8,6 +8,7 @@
#include <config.h>
#include <common.h>
#include <nand.h>
#include <linux/mtd/rawnand.h>
#include <asm/io.h>
#define BIT_CLE ((unsigned short)0x0800)