.\" 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 "ADD_MTD_DEVICE" "9" "09 October 2005" "" ""
.SH NAME
add_mtd_device \- register an MTD device
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int add_mtd_device (struct mtd_info * \fImtd\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fImtd\fB\fR
pointer to new MTD device info structure
.SH "DESCRIPTION"
.PP
Add a device to the list of MTD devices present in the system, and
notify each currently active MTD 'user' of its arrival. Returns
zero on success or 1 on failure, which currently will only happen
if the number of present devices exceeds MAX_MTD_DEVICES (i.e. 16)