Subject: [PATCH] [acpi legacy] Mark old-school thermal driver as "legacy" - Update Kconfig and Makefile Signed-off-by: Patrick Mochel --- drivers/acpi/drivers/legacy/Kconfig | 6 +++--- drivers/acpi/drivers/legacy/Makefile | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) applies-to: 99325afdd9c14dc8aa52a3ef2dd4c87bbc185e2a 10f89a7dd1c90251edca17b961771a233403c826 diff --git a/drivers/acpi/drivers/legacy/Kconfig b/drivers/acpi/drivers/legacy/Kconfig index 0ee8f51..c7a4e1b 100644 --- a/drivers/acpi/drivers/legacy/Kconfig +++ b/drivers/acpi/drivers/legacy/Kconfig @@ -136,9 +136,9 @@ config ACPI_HOTPLUG_CPU default y -config ACPI_THERMAL - tristate "Thermal Zone" - depends on ACPI_PROCESSOR +config ACPI_LEGACY_THERMAL + tristate "Thermal Zone (Legacy Driver)" + depends on ACPI_DM_LEGACY && !(ACPI_THERMAL=y || ACPI_THERMAL=m) && ACPI_PROCESSOR default y help This driver adds support for ACPI thermal zones. Most mobile and diff --git a/drivers/acpi/drivers/legacy/Makefile b/drivers/acpi/drivers/legacy/Makefile index 93f0f8b..de17bdd 100644 --- a/drivers/acpi/drivers/legacy/Makefile +++ b/drivers/acpi/drivers/legacy/Makefile @@ -24,7 +24,7 @@ processor-objs += processor_perflib.o endif obj-$(CONFIG_ACPI_PROCESSOR) += processor.o -obj-$(CONFIG_ACPI_THERMAL) += thermal.o +obj-$(CONFIG_ACPI_LEGACY_THERMAL) += thermal.o obj-$(CONFIG_ACPI_VIDEO) += video.o obj-$(CONFIG_ACPI_ASUS) += asus_acpi.o --- 0.99.9.GIT