Commit bea92112 authored by Paul Mundt's avatar Paul Mundt Committed by Ingo Molnar

kernel/resource: fix reserve_region_with_split() section mismatch

Impact: cleanup, small kernel text size reduction, no functionality changed

reserve_region_with_split() calls in to __reserve_region_with_split(),
which is an __init function. The only caller of reserve_region_with_split()
is an __init function, so make it __init too.
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent acff181d
...@@ -571,7 +571,7 @@ static void __init __reserve_region_with_split(struct resource *root, ...@@ -571,7 +571,7 @@ static void __init __reserve_region_with_split(struct resource *root,
} }
void reserve_region_with_split(struct resource *root, void __init reserve_region_with_split(struct resource *root,
resource_size_t start, resource_size_t end, resource_size_t start, resource_size_t end,
const char *name) const char *name)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment