Skip to content
Snippets Groups Projects
Commit 10bb62d8 authored by Stefan Roese's avatar Stefan Roese Committed by Wolfgang Denk
Browse files

mtd: nand: Include linux/mtd/partitions.h in nand_base.h


This patch removes this compilation warning when CONFIG_MTD_PARTITIONS is
defined:

nand_base.c: In function 'nand_release':
nand_base.c:2922: warning: implicit declaration of function 'del_mtd_partitions'

Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent 2d579e50
No related branches found
No related tags found
No related merge requests found
...@@ -68,6 +68,10 @@ ...@@ -68,6 +68,10 @@
#include <linux/mtd/nand.h> #include <linux/mtd/nand.h>
#include <linux/mtd/nand_ecc.h> #include <linux/mtd/nand_ecc.h>
#ifdef CONFIG_MTD_PARTITIONS
#include <linux/mtd/partitions.h>
#endif
#include <asm/io.h> #include <asm/io.h>
#include <asm/errno.h> #include <asm/errno.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment