SysTutorials

Linux Manual Pages › Section 9

nand_check_wp(9)

nand_check_wp – [GENERIC] check if the chip is write protected

Synopsis

int nand_check_wp(struct mtd_info *mtd);

Arguments

mtd

MTD device structure

Description

Check, if the device is write protected. The function expects, that the device is already selected.

Author

Thomas Gleixner <tglx [at] linutronix.de>

Author.

Copyright