NAND_GET_DEVICE(9) Internal Functions Provided NAND_GET_DEVICE(9)NAMEnand_get_device - [GENERIC] Get chip for selected access
SYNOPSIS
int 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
Get the device and lock it for exclusive access
AUTHOR
Thomas Gleixner <tglx@linutronix.de>
Author.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 NAND_GET_DEVICE(9)