Inserts a resource in the resource tree
int insert_resource(struct resource * parent, struct resource * new);
parent
parent of the new resource
new
new resource to insert
Returns 0 on success, -EBUSY if the resource can't be inserted.