mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
kernel/resource.c: move EXPORT_SYMBOL right after definition
EXPORT_SYMBOL(adjust_resource) should be right after adjust_resource(). Signed-off-by: WANG Cong <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
This commit is contained in:
parent
7ce6e52ee5
commit
2410574866
1 changed files with 1 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue