diff options
author | Jason Yan <yanaijie@huawei.com> | 2020-09-12 05:38:51 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-09-25 12:54:47 +0200 |
commit | 8b62740472c4fe3cee64df4588033e1d8ff3b235 (patch) | |
tree | 3e7b02e96ff870c2d38f516df6fc3983708e9080 /drivers/acpi | |
parent | Linux 5.9-rc6 (diff) | |
download | linux-8b62740472c4fe3cee64df4588033e1d8ff3b235.tar.xz linux-8b62740472c4fe3cee64df4588033e1d8ff3b235.zip |
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>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/apei/apei-base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/apei/apei-base.c b/drivers/acpi/apei/apei-base.c index e358d0046494..d3fbac58d91a 100644 --- a/drivers/acpi/apei/apei-base.c +++ b/drivers/acpi/apei/apei-base.c @@ -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), }; |