Skip to content

Commit 31495d4

Browse files
chenhuacaitsbogend
authored andcommitted
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 <[email protected]> Signed-off-by: Huacai Chen <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent ef92750 commit 31495d4

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

drivers/platform/Kconfig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# SPDX-License-Identifier: GPL-2.0-only
2-
if MIPS
32
source "drivers/platform/mips/Kconfig"
4-
endif
53

64
source "drivers/platform/loongarch/Kconfig"
75

drivers/platform/mips/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
menuconfig MIPS_PLATFORM_DEVICES
77
bool "MIPS Platform Specific Device Drivers"
88
default y
9+
depends on MIPS
910
help
1011
Say Y here to get to see options for device drivers of various
1112
MIPS platforms, including vendor-specific netbook/laptop/desktop

0 commit comments

Comments
 (0)