mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
ACPI, APEI: make apei_resources_all static
This eliminates the following sparse warning: drivers/acpi/apei/apei-base.c:290:23: warning: symbol 'apei_resources_all' was not declared. Should it be static? Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Jason Yan <yanaijie@huawei.com> Reviewed-by: Borislav Petkov <bp@suse.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
ba4f184e12
commit
8b62740472
@ -287,7 +287,7 @@ struct apei_res {
|
||||
};
|
||||
|
||||
/* Collect all resources requested, to avoid conflict */
|
||||
struct apei_resources apei_resources_all = {
|
||||
static struct apei_resources apei_resources_all = {
|
||||
.iomem = LIST_HEAD_INIT(apei_resources_all.iomem),
|
||||
.ioport = LIST_HEAD_INIT(apei_resources_all.ioport),
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user