nand_check_wp (9) - Linux Manuals

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

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.

AUTHOR

Thomas Gleixner <tglx [at] linutronix.de>

Author.

COPYRIGHT