summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/raw/octeontx_nand.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-09-22 14:50:35 -0400
committerTom Rini <trini@konsulko.com>2021-10-06 09:16:23 -0400
commit1cefed1e39f0038ac6afd9e0c48b8b85fb458fbc (patch)
tree373fc4f509981fb035efc0c9d62664b681bdf83b /drivers/mtd/nand/raw/octeontx_nand.c
parentc0ad62c5f7535bf13b24aab103356f827f40d0cd (diff)
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 'drivers/mtd/nand/raw/octeontx_nand.c')
-rw-r--r--drivers/mtd/nand/raw/octeontx_nand.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/raw/octeontx_nand.c b/drivers/mtd/nand/raw/octeontx_nand.c
index e0ccc7b0d90..75476c098fe 100644
--- a/drivers/mtd/nand/raw/octeontx_nand.c
+++ b/drivers/mtd/nand/raw/octeontx_nand.c
@@ -23,6 +23,7 @@
#include <linux/mtd/mtd.h>
#include <linux/mtd/nand_bch.h>
#include <linux/mtd/nand_ecc.h>
+#include <linux/mtd/rawnand.h>
#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/types.h>