From: Jason Yan Date: Sat, 26 Sep 2020 04:19:21 +0000 (-0700) Subject: lib/memregion.c: include memregion.h X-Git-Tag: baikal/aarch64/sdk6.1~8337^2~3 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=7d0a37cf8044707203404927b60588b88b83ea47;p=kernel.git lib/memregion.c: include memregion.h This addresses the following sparse warning: lib/memregion.c:8:5: warning: symbol 'memregion_alloc' was not declared. Should it be static? lib/memregion.c:14:6: warning: symbol 'memregion_free' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: Jason Yan Signed-off-by: Andrew Morton Link: https://lkml.kernel.org/r/20200921142852.875312-1-yanaijie@huawei.com Signed-off-by: Linus Torvalds --- diff --git a/lib/memregion.c b/lib/memregion.c index 77c85b5251da5..be5cfa5a3b570 100644 --- a/lib/memregion.c +++ b/lib/memregion.c @@ -2,6 +2,7 @@ /* identifiers for device / performance-differentiated memory regions */ #include #include +#include static DEFINE_IDA(memregion_ids);