drivers/Kconfig: Move if/endif to subfolder Kconfig

Move if/endif to subfolder Kconfig and make ARCH_HAVE_XXX option always selectable by moving out of if/endif
This commit is contained in:
Xiang Xiao
2020-02-08 15:30:09 +08:00
committed by Gregory Nutt
parent fa3e66fe82
commit 3cb259daa6
28 changed files with 136 additions and 93 deletions
+4
View File
@@ -7,6 +7,8 @@ config ARCH_HAVE_I2CRESET
bool
default n
if I2C
config I2C_SLAVE
bool "I2C Slave"
default n
@@ -50,3 +52,5 @@ config I2CMULTIPLEXER_PCA9540BDP
# put more i2c mux devices here
endmenu # I2C Multiplexer Support
endif