Name

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.