1. NAME

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

2. SYNOPSIS

int nand_check_wp(struct mtd_info *  mtd );

3. ARGUMENTS

mtd
    MTD device structure

4. DESCRIPTION

Check, if the device is write protected. The function expects, that the device is already selected.

5. AUTHOR

Thomas Gleixner <>
    Author.

6. COPYRIGHT