[generic] check if the chip is write protected
int nand_check_wp(struct mtd_info * mtd);
mtd
MTD device structure
Check, if the device is write protected. The function expects, that the device is already selected.
Thomas Gleixner <[email protected]>
Author.