summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/Makefile
diff options
context:
space:
mode:
authorZhang Rui2008-04-21 10:07:13 +0200
committerLen Brown2008-04-29 08:44:00 +0200
commit63c4ec905d63834a97ec7dbbf0a2ec89ef5872be (patch)
tree3ad4db7e154ee2fff4020f7ca76beb0d8016b04e /drivers/thermal/Makefile
parentdrivers: fix integer as NULL pointer warnings (diff)
downloadkernel-qcow2-linux-63c4ec905d63834a97ec7dbbf0a2ec89ef5872be.tar.gz
kernel-qcow2-linux-63c4ec905d63834a97ec7dbbf0a2ec89ef5872be.tar.xz
kernel-qcow2-linux-63c4ec905d63834a97ec7dbbf0a2ec89ef5872be.zip
thermal: add the support for building the generic thermal as a module
Build the generic thermal driver as module "thermal_sys". Make ACPI thermal, video, processor and fan SELECT the generic thermal driver, as these drivers rely on it to build the sysfs I/F. Signed-off-by: Zhang Rui <rui.zhang@intel.com> Acked-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/thermal/Makefile')
-rw-r--r--drivers/thermal/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/thermal/Makefile b/drivers/thermal/Makefile
index 8ef1232de376..02b64517be8f 100644
--- a/drivers/thermal/Makefile
+++ b/drivers/thermal/Makefile
@@ -2,4 +2,5 @@
# Makefile for sensor chip drivers.
#
-obj-$(CONFIG_THERMAL) += thermal.o
+thermal_sys-objs += thermal.o
+obj-$(CONFIG_THERMAL) += thermal_sys.o