GET_MTD_DEVICE
Section: (9)
Updated: 09 October 2005
Index
Return to Main Contents
NAME
get_mtd_device - obtain a validated handle for an MTD device
SYNOPSIS
"SYNOPSIS"
struct mtd_info * get_mtd_device (struct mtd_info * mtd, int num);
ARGUMENTS
- mtd
-
last known address of the required MTD device
- num
-
internal device number of the required MTD device
DESCRIPTION
Given a number and NULL address, return the num'th entry in the device
table, if any. Given an address and num == -1, search the device table
for a device with that address and return if it's still present. Given
both, return the num'th driver only if its address matches. Return NULL
if not.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 00:02:11 GMT, October 09, 2005