nand_check_wp(9) [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 <[email protected]>

Author.

COPYRIGHT