/* nand_resume -  Resume the NAND flash @mtd: MTD device structure  */
static void nand_resume(struct mtd_info *mtd)
/* nand_resume -  Resume the NAND flash @mtd: MTD device structure  */
static void nand_resume(struct mtd_info *mtd)
{
	struct nand_chip *chip = mtd->priv;
	if (chip->state == FL_PM_SUSPENDED)
		nand_release_device(mtd);
	else
		printk(KERN_ERR "nand_resume() called for a chip which is not "
		       "in suspended state\n");
}