'\" t .\" Title: nand_check_wp .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Internal Functions Provided .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "NAND_CHECK_WP" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Internal Functions Provided" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" nand_check_wp \- [GENERIC] check if the chip is write protected .SH "SYNOPSIS" .HP \w'int\ nand_check_wp('u .BI "int nand_check_wp(struct\ mtd_info\ *\ " "mtd" ");" .SH "ARGUMENTS" .PP \fImtd\fR .RS 4 MTD device structure .RE .SH "DESCRIPTION" .PP Check, if the device is write protected\&. The function expects, that the device is already selected\&. .SH "AUTHOR" .PP \fBThomas Gleixner\fR <\&tglx@linutronix.de\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br