.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "NAND_CHECK_WP" "9" "09 October 2005" "" ""
.SH NAME
nand_check_wp \- [GENERIC] check if the chip is write protected
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int nand_check_wp (struct mtd_info * \fImtd\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fImtd\fB\fR
MTD device structure
Check, if the device is write protected
.SH "DESCRIPTION"
.PP
The function expects, that the device is already selected