summaryrefslogtreecommitdiff
path: root/include/nand.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-11-30 13:45:24 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2017-12-04 22:00:00 +0900
commit6ae3900a86b52429bf7a73ad832f0ad02acc2282 (patch)
tree3aacc0877e4dd81b727ceb8e164df7c8ee606ae8 /include/nand.h
parent57f9bb9404e0578b4701ff900fdfa884d84c74b0 (diff)
downloadu-boot-6ae3900a86b52429bf7a73ad832f0ad02acc2282.tar.gz
u-boot-6ae3900a86b52429bf7a73ad832f0ad02acc2282.tar.bz2
u-boot-6ae3900a86b52429bf7a73ad832f0ad02acc2282.zip
mtd: nand: Rename nand.h into rawnand.h
This header was renamed to rawnand.h in Linux. The following is the corresponding commit in Linux. commit d4092d76a4a4e57b65910899948a83cc8646c5a5 Author: Boris Brezillon <boris.brezillon@free-electrons.com> Date: Fri Aug 4 17:29:10 2017 +0200 mtd: nand: Rename nand.h into rawnand.h We are planning to share more code between different NAND based devices (SPI NAND, OneNAND and raw NANDs), but before doing that we need to move the existing include/linux/mtd/nand.h file into include/linux/mtd/rawnand.h so we can later create a nand.h header containing all common structure and function prototypes. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'include/nand.h')
-rw-r--r--include/nand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/nand.h b/include/nand.h
index c1c1d8cce6..cead563553 100644
--- a/include/nand.h
+++ b/include/nand.h
@@ -32,7 +32,7 @@ unsigned long nand_size(void);
#include <linux/compat.h>
#include <linux/mtd/mtd.h>
-#include <linux/mtd/nand.h>
+#include <linux/mtd/rawnand.h>
int nand_mtd_to_devnum(struct mtd_info *mtd);