ACPI: PRM: make symbol 'prm_module_list' static
mainline inclusion from mainline-v5.14 commit d7a188bb category: feature bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I6HNB8 CVE: N/A Intel-SIG: commit d7a188bb ACPI: PRM: make symbol 'prm_module_list' static. ACPI Platform Runtime Mechanism feature backport. -------------------------------- 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:Hulk Robot <hulkci@huawei.com> Signed-off-by:
Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by:
Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by:
Aubrey Li <aubrey.li@linux.intel.com>
Loading
Please sign in to comment