summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/bus.c
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2023-07-03 14:48:31 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-07-04 19:09:54 +0200
commit90f6af81604c7f831273c08ac9994d0d0724b553 (patch)
tree1c8b9b2a7cf11532cbc764521a2353acccdceb2f /drivers/acpi/bus.c
parentACPI: scan: Move acpi_root to internal header (diff)
downloadlinux-90f6af81604c7f831273c08ac9994d0d0724b553.tar.xz
linux-90f6af81604c7f831273c08ac9994d0d0724b553.zip
ACPI: scan: fix undeclared variable warnings by including sleep.h
There are two pieces of data being exported from drivers/acpi/scan.c (acpi_device_lock and acpi_wakeup_device_list) that don't have their definitions declared in anything scan.c is including. Fix the following sparse warnings by including sleep.h to add the declarations of acpi_device_lock and acpi_wakeup_device_list to fix the followng sparse warnings: drivers/acpi/scan.c:42:1: warning: symbol 'acpi_device_lock' was not declared. Should it be static? drivers/acpi/scan.c:43:1: warning: symbol 'acpi_wakeup_device_list' was not declared. Should it be static? Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/bus.c')
0 files changed, 0 insertions, 0 deletions