ADD_MTD_DEVICE

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

add_mtd_device - register an MTD device  

SYNOPSIS

"SYNOPSIS"

int add_mtd_device (struct mtd_info * mtd);  

ARGUMENTS

mtd
pointer to new MTD device info structure
 

DESCRIPTION

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)


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:01:54 GMT, October 09, 2005