linux/drivers/platform/mips/Kconfig
Huacai Chen 31495d4f6f platform/mips: Adjust Kconfig to keep consistency
Drop the "if MIPS" and "endif" drivers/platform/Kconfig. Instead add
a "depends on MIPS" to "menuconfig MIPS_PLATFORM_DEVICES" in drivers/
platform/mips/Kconfig, like all the other subdirs are doing.

Suggested-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2022-12-08 11:51:52 +01:00

41 lines
1.0 KiB
Plaintext

# SPDX-License-Identifier: GPL-2.0-only
#
# MIPS Platform Specific Drivers
#
menuconfig MIPS_PLATFORM_DEVICES
bool "MIPS Platform Specific Device Drivers"
default y
depends on MIPS
help
Say Y here to get to see options for device drivers of various
MIPS platforms, including vendor-specific netbook/laptop/desktop
extension and hardware monitor drivers. This option itself does
not add any kernel code.
If you say N, all options in this submenu will be skipped and disabled.
if MIPS_PLATFORM_DEVICES
config CPU_HWMON
bool "Loongson-3 CPU HWMon Driver"
depends on MACH_LOONGSON64
select HWMON
default y
help
Loongson-3A/3B CPU Hwmon (temperature sensor) driver.
config RS780E_ACPI
bool "Loongson RS780E ACPI Controller"
depends on MACH_LOONGSON64 || COMPILE_TEST
help
Loongson RS780E PCH ACPI Controller driver.
config LS2K_RESET
bool "Loongson-2K1000 Reset Controller"
depends on MACH_LOONGSON64 || COMPILE_TEST
help
Loongson-2K1000 Reset Controller driver.
endif # MIPS_PLATFORM_DEVICES