/* Used when in panic, no locks are taken.  */
static void panic_nand_get_device(struct nand_chip *chip, struct mtd_info *mtd, int new_state)
/* Used when in panic, no locks are taken.  */
static void panic_nand_get_device(struct nand_chip *chip, struct mtd_info *mtd, int new_state)
{
	chip->controller->active = chip;
	chip->state = new_state;
}