Commit 31495d4f authored by Huacai Chen's avatar Huacai Chen Committed by Thomas Bogendoerfer

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: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent ef92750e
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
if MIPS
source "drivers/platform/mips/Kconfig" source "drivers/platform/mips/Kconfig"
endif
source "drivers/platform/loongarch/Kconfig" source "drivers/platform/loongarch/Kconfig"
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
menuconfig MIPS_PLATFORM_DEVICES menuconfig MIPS_PLATFORM_DEVICES
bool "MIPS Platform Specific Device Drivers" bool "MIPS Platform Specific Device Drivers"
default y default y
depends on MIPS
help help
Say Y here to get to see options for device drivers of various Say Y here to get to see options for device drivers of various
MIPS platforms, including vendor-specific netbook/laptop/desktop MIPS platforms, including vendor-specific netbook/laptop/desktop
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment