]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: thermal: buildfix for CONFIG_THERMAL=n
authorLen Brown <len.brown@intel.com>
Sat, 9 Feb 2008 09:01:48 +0000 (04:01 -0500)
committerLen Brown <len.brown@intel.com>
Sat, 9 Feb 2008 09:01:48 +0000 (04:01 -0500)
commit7cd399bfc4c9da601c276ac927715931eaba52c4
tree54295837deed8336da2da2ee80043a4a6880779b
parentad2f1efed12e2e8b678c9b0f9ac8b3d010e9786b
ACPI: thermal: buildfix for CONFIG_THERMAL=n

This fixes the build, but acpi_fan_add() still needs
to be updated to handle thermal_cooling_device_register()
returning NULL as a non-fatal condition.

Signed-off-by: Len Brown <len.brown@intel.com>
include/linux/thermal.h