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)
commita0dd25b2c83de4623487ca4de9c1d962b552ca0f
tree54295837deed8336da2da2ee80043a4a6880779b
parenta6869cc4cfd633d909918f1489a6a8ac668cd6aa
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