提交 d7a188bb 编写于 作者: W Wei Yongjun 提交者: Rafael J. Wysocki

ACPI: PRM: make symbol 'prm_module_list' static

The sparse tool complains as follows:

drivers/acpi/prmt.c:53:1: warning:
 symbol 'prm_module_list' was not declared. Should it be static?

This symbol is not used outside of prmt.c, so marks it static.

Fixes: cefc7ca4 ("ACPI: PRM: implement OperationRegion handler for the PlatformRtMechanism subtype")
Reported-by: NHulk Robot <hulkci@huawei.com>
Signed-off-by: NWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 60faa8f1
......@@ -50,7 +50,7 @@ struct prm_context_buffer {
#pragma pack()
LIST_HEAD(prm_module_list);
static LIST_HEAD(prm_module_list);
struct prm_handler_info {
guid_t guid;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册