ACPI: PRM: make symbol 'prm_module_list' static
authorWei Yongjun <weiyongjun1@huawei.com>
Tue, 15 Jun 2021 17:21:57 +0000 (17:21 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 17 Jun 2021 12:40:29 +0000 (14:40 +0200)
commitd7a188bb87d8da78a1ef0dea53f1639f3daf0790
tree1819a4b649e4cb4e74beac2d88cca15976a147a3
parent60faa8f1ac6e0588d53eb9a345adcdbcc96a8f47
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: cefc7ca46235 ("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>
drivers/acpi/prmt.c