1. NAME▲

insert_resource - Inserts a resource in the resource tree

2. SYNOPSIS ▲

int insert_resource(struct resource *  parent , struct resource *  new );

3. ARGUMENTS ▲

parent
    parent of the new resource

new
    new resource to insert

4. DESCRIPTION ▲

Returns 0 on success, -EBUSY if the resource canAqt be inserted.

5. COPYRIGHT ▲