Commit d7a188bb authored by Wei Yongjun's avatar Wei Yongjun Committed by 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: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment