mtd: nand: Include linux/mtd/partitions.h in nand_base.h
authorStefan Roese <sr@denx.de>
Fri, 24 Apr 2009 13:58:33 +0000 (15:58 +0200)
committerWolfgang Denk <wd@denx.de>
Mon, 27 Apr 2009 23:15:37 +0000 (01:15 +0200)
commit10bb62d85a0850dbad1fdd34123378686373f166
treef07564301cd6bfd36953a69ff60155a5a990786a
parent2d579e5060413af5a740cb396dc87e1ff31bf5a9
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 <sr@denx.de>
drivers/mtd/nand/nand_base.c