From: Stefan Roese Date: Fri, 24 Apr 2009 13:58:33 +0000 (+0200) Subject: mtd: nand: Include linux/mtd/partitions.h in nand_base.h X-Git-Tag: v2009.06-rc1~16 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=10bb62d85a0850dbad1fdd34123378686373f166;p=u-boot 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: Stefan Roese --- diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index e6ac859e1a..360b070849 100644 --- a/drivers/mtd/nand/nand_base.c +++ b/drivers/mtd/nand/nand_base.c @@ -68,6 +68,10 @@ #include #include +#ifdef CONFIG_MTD_PARTITIONS +#include +#endif + #include #include