aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/platform/Kconfig
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2022-09-18 18:12:06 +0800
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2022-12-08 11:51:52 +0100
commit31495d4f6f1308d817a69f9228063a344c5c7ba4 (patch)
tree212b9b73d9188c33eab52b2f5a156ac9771940c2 /drivers/platform/Kconfig
parentMIPS: OCTEON: cvmx-bootmem: use strscpy() to instead of strncpy() (diff)
downloadwireguard-linux-31495d4f6f1308d817a69f9228063a344c5c7ba4.tar.xz
wireguard-linux-31495d4f6f1308d817a69f9228063a344c5c7ba4.zip
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>
Diffstat (limited to 'drivers/platform/Kconfig')
-rw-r--r--drivers/platform/Kconfig2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/platform/Kconfig b/drivers/platform/Kconfig
index dbd327712205..868b20361769 100644
--- a/drivers/platform/Kconfig
+++ b/drivers/platform/Kconfig
@@ -1,7 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-only
-if MIPS
source "drivers/platform/mips/Kconfig"
-endif
source "drivers/platform/loongarch/Kconfig"