summaryrefslogtreecommitdiffstats
path: root/mm/swap_cgroup.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-11-23 07:59:57 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-11-24 19:26:49 +0100
commitb14b2d56168c1bcf00fccb5a2fe746e64ed970cc (patch)
tree98b3a301020f2afe89e89be4f4826dbb076696ce /mm/swap_cgroup.c
parenta2ee7581afd59015b8f9ae01fad131aed9f26f01 (diff)
downloadlinux-stable-b14b2d56168c1bcf00fccb5a2fe746e64ed970cc.tar.gz
linux-stable-b14b2d56168c1bcf00fccb5a2fe746e64ed970cc.tar.bz2
linux-stable-b14b2d56168c1bcf00fccb5a2fe746e64ed970cc.zip
ACPI: thermal_lib: include "internal.h" for function prototypes
The newly added functions are declared in a header that is not included before the definition: drivers/acpi/thermal_lib.c:46:5: error: no previous prototype for 'acpi_active_trip_temp' [-Werror=missing-prototypes] 46 | int acpi_active_trip_temp(struct acpi_device *adev, int id, int *ret_temp) | ^~~~~~~~~~~~~~~~~~~~~ drivers/acpi/thermal_lib.c:57:5: error: no previous prototype for 'acpi_passive_trip_temp' [-Werror=missing-prototypes] 57 | int acpi_passive_trip_temp(struct acpi_device *adev, int *ret_temp) | ^~~~~~~~~~~~~~~~~~~~~~ drivers/acpi/thermal_lib.c:63:5: error: no previous prototype for 'acpi_hot_trip_temp' [-Werror=missing-prototypes] 63 | int acpi_hot_trip_temp(struct acpi_device *adev, int *ret_temp) | ^~~~~~~~~~~~~~~~~~ drivers/acpi/thermal_lib.c:69:5: error: no previous prototype for 'acpi_critical_trip_temp' [-Werror=missing-prototypes] 69 | int acpi_critical_trip_temp(struct acpi_device *adev, int *ret_temp) | ^~~~~~~~~~~~~~~~~~~~~~~ Fixes: 6908097aa5a7 ("ACPI: thermal_lib: Add functions returning temperature in deci-Kelvin") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'mm/swap_cgroup.c')
0 files changed, 0 insertions, 0 deletions