insert_resource9
Inserts a resource in the resource tree
Usage
int insert_resource(struct resource * parent, struct resource * new);
Arguments
parent
parent of the new resource
new
new resource to insert
Overview
Returns 0 on success, -EBUSY if the resource can't be inserted.
This function is intended for producers of resources, such as FW modules and bus drivers.
Releases
6 releases since Debian 4.0 (Etch); the text changed 5 times.