.\" 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 "DEL_MTD_DEVICE" "" "06 October 2005" "" "" .SH NAME del_mtd_device \- unregister an MTD device .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int del_mtd_device (struct mtd_info * \fImtd\fB); \fR .SH "ARGUMENTS" .TP \fB\fImtd\fB\fR pointer to MTD device info structure .SH "DESCRIPTION" .PP Remove a device from the list of MTD devices present in the system, and notify each currently active MTD 'user' of its departure. Returns zero on success or 1 on failure, which currently will happen if the requested device does not appear to be present in the list.