platform/mips: Adjust Kconfig to keep consistency
authorHuacai Chen <chenhuacai@loongson.cn>
Sun, 18 Sep 2022 10:12:06 +0000 (18:12 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Thu, 8 Dec 2022 10:51:52 +0000 (11:51 +0100)
commit31495d4f6f1308d817a69f9228063a344c5c7ba4
tree212b9b73d9188c33eab52b2f5a156ac9771940c2
parentef92750e11d2289fced9ff2ce211f8f790225c86
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>
drivers/platform/Kconfig
drivers/platform/mips/Kconfig