table of contents
other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
REMOVE_RESOURCE(9) | Hardware Interfaces | REMOVE_RESOURCE(9) |
NAME¶
remove_resource - Remove a resource in the resource treeSYNOPSIS¶
int
remove_resource(struct resource * old);
ARGUMENTS¶
oldresource to remove
DESCRIPTION¶
Returns 0 on success, -EINVAL if the resource is not valid. This function removes a resource previously inserted by insert_resource or insert_resource_conflict, and moves the children (if any) up to where they were before. insert_resource and insert_resource_conflict insert a new resource, and move any conflicting resources down to the children of the new resource. insert_resource, insert_resource_conflict and remove_resource are intended for producers of resources, such as FW modules and bus drivers.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |