table of contents
other versions
- stretch 4.9.168-1
INSERT_RESOURCE(9) | Hardware Interfaces | INSERT_RESOURCE(9) |
NAME¶
insert_resource - Inserts a resource in the resource treeSYNOPSIS¶
int insert_resource(struct resource * parent, struct resource * new);
ARGUMENTS¶
parentparent of the new resource
new
new resource to insert
DESCRIPTION¶
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.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |