void nand_get_device (struct nand_chip * this, struct mtd_info * mtd, int new_state);
void nand_get_device
the nand chip descriptor
MTD device structure
the state which is requested
Get the device and lock it for exclusive access