diff options
Diffstat (limited to 'drivers/mtd/nand/nand.c')
| -rw-r--r-- | drivers/mtd/nand/nand.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/drivers/mtd/nand/nand.c b/drivers/mtd/nand/nand.c index d3691151f..9065fa91c 100644 --- a/drivers/mtd/nand/nand.c +++ b/drivers/mtd/nand/nand.c @@ -57,7 +57,7 @@ static void nand_init_chip(struct mtd_info *mtd, struct nand_chip *nand,  			else  				mtd->name += gd->reloc_off; -#ifdef CONFIG_MTD_PARTITIONS +#ifdef CONFIG_MTD_DEVICE  			/*  			 * Add MTD device so that we can reference it later  			 * via the mtdcore infrastructure (e.g. ubi). |