nand_check_wp — [GENERIC] check if the chip is write protected
int nand_check_wp (
)
mtd
MTD device structure
Check, if the device is write protected. The function expects, that the device is already selected.