SysTutorials

Linux Manual Pages › Section 9

nand_get_device(9)

nand_get_device – [GENERIC] Get chip for selected access

Synopsis

int nand_get_device(struct mtd_info *mtd, int new_state);

Arguments

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 [at] linutronix.de>

Author.

Copyright