Name

panic_nand_get_device — [GENERIC] Get chip for selected access

Synopsis

void panic_nand_get_device (struct nand_chip *  chip,
 struct mtd_info *  mtd,
 int  new_state);

Arguments

chip

the nand chip descriptor

mtd

MTD device structure

new_state

the state which is requested

Description

Used when in panic, no locks are taken.