diff options
author | Daeseok Youn <daeseok.youn@gmail.com> | 2014-04-03 17:48:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-03 19:21:07 -0400 |
commit | 28ab49ff7f3dcaf4df8d2bd0d4099b8c08285ed7 (patch) | |
tree | 677208db94f2d41912944c1640b34e50f9acdb13 /kernel/resource.c | |
parent | c96d6660dc65b0a90aea9834bfd8be1d5656da18 (diff) |
kernel/resource.c: make reallocate_resource() static
sparse says:
kernel/resource.c:518:5: warning:
symbol 'reallocate_resource' was not declared. Should it be static?
Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Reviewed-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/resource.c')
-rw-r--r-- | kernel/resource.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/resource.c b/kernel/resource.c index 673061c06da1..8957d686e29b 100644 --- a/kernel/resource.c +++ b/kernel/resource.c | |||
@@ -511,7 +511,7 @@ static int find_resource(struct resource *root, struct resource *new, | |||
511 | * @newsize: new size of the resource descriptor | 511 | * @newsize: new size of the resource descriptor |
512 | * @constraint: the size and alignment constraints to be met. | 512 | * @constraint: the size and alignment constraints to be met. |
513 | */ | 513 | */ |
514 | int reallocate_resource(struct resource *root, struct resource *old, | 514 | static int reallocate_resource(struct resource *root, struct resource *old, |
515 | resource_size_t newsize, | 515 | resource_size_t newsize, |
516 | struct resource_constraint *constraint) | 516 | struct resource_constraint *constraint) |
517 | { | 517 | { |