Skip to content

Commit

Permalink
kernel/resource.c: move EXPORT_SYMBOL right after definition
Browse files Browse the repository at this point in the history
EXPORT_SYMBOL(adjust_resource) should be right after adjust_resource().

Signed-off-by: WANG Cong <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
  • Loading branch information
congwang authored and Jiri Kosina committed Feb 3, 2012
1 parent 7ce6e52 commit 2410574
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kernel/resource.c
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,7 @@ int adjust_resource(struct resource *res, resource_size_t start, resource_size_t
write_unlock(&resource_lock);
return result;
}
EXPORT_SYMBOL(adjust_resource);

static void __init __reserve_region_with_split(struct resource *root,
resource_size_t start, resource_size_t end,
Expand Down Expand Up @@ -792,8 +793,6 @@ void __init reserve_region_with_split(struct resource *root,
write_unlock(&resource_lock);
}

EXPORT_SYMBOL(adjust_resource);

/**
* resource_alignment - calculate resource's alignment
* @res: resource pointer
Expand Down

0 comments on commit 2410574

Please sign in to comment.