diff options
author | Zhang Rui <rui.zhang@intel.com> | 2008-04-21 16:07:13 +0800 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-04-29 02:44:00 -0400 |
commit | 63c4ec905d63834a97ec7dbbf0a2ec89ef5872be (patch) | |
tree | 3ad4db7e154ee2fff4020f7ca76beb0d8016b04e /drivers/thermal/Makefile | |
parent | a01e035ebb552223c03f2d9138ffc73f2d4d3965 (diff) | |
download | linux-stable-63c4ec905d63834a97ec7dbbf0a2ec89ef5872be.tar.gz linux-stable-63c4ec905d63834a97ec7dbbf0a2ec89ef5872be.tar.bz2 linux-stable-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/Makefile | 3 |
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 |