if (!drv && !request_module("%s", name))
drv = get_mtd_chip_driver(name);
if (!drv) return NULL;
ret = drv->probe(map);
/* We decrease the use count here. It may have been a probe-only module, which is no longer required from this point, having given us a handle on (and increased the use count of) the actual driver code.
*/
module_put(drv->module);
return ret;
} /* * Destroy an MTD device which was created for a map device. * Make sure the MTD device is already unregistered before calling this
*/ void map_destroy(struct mtd_info *mtd)
{ struct map_info *map = mtd->priv;
if (map->fldrv->destroy)
map->fldrv->destroy(mtd);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.