Commit bea92112415635ecb7e681355834413c7c048f67

Authored by Paul Mundt
Committed by Ingo Molnar
1 parent acff181d35

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: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -571,7 +571,7 @@
571 571  
572 572 }
573 573  
574   -void reserve_region_with_split(struct resource *root,
  574 +void __init reserve_region_with_split(struct resource *root,
575 575 resource_size_t start, resource_size_t end,
576 576 const char *name)
577 577 {