mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]> Acked-by: Jean Delvare <[email protected]> Signed-off-by: Len Brown <[email protected]>
This commit is contained in:
parent
a01e035ebb
commit
63c4ec905d
6 changed files with 9 additions and 18 deletions
|
|
@ -140,6 +140,7 @@ config ACPI_VIDEO
|
|||
tristate "Video"
|
||||
depends on X86 && BACKLIGHT_CLASS_DEVICE && VIDEO_OUTPUT_CONTROL
|
||||
depends on INPUT
|
||||
select THERMAL
|
||||
help
|
||||
This driver implement the ACPI Extensions For Display Adapters
|
||||
for integrated graphics devices on motherboard, as specified in
|
||||
|
|
@ -151,6 +152,7 @@ config ACPI_VIDEO
|
|||
|
||||
config ACPI_FAN
|
||||
tristate "Fan"
|
||||
select THERMAL
|
||||
default y
|
||||
help
|
||||
This driver adds support for ACPI fan devices, allowing user-mode
|
||||
|
|
@ -172,6 +174,7 @@ config ACPI_BAY
|
|||
|
||||
config ACPI_PROCESSOR
|
||||
tristate "Processor"
|
||||
select THERMAL
|
||||
default y
|
||||
help
|
||||
This driver installs ACPI as the idle handler for Linux, and uses
|
||||
|
|
|
|||
Loading…
Reference in a new issue