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
@@ -3,6 +3,8 @@
# see the file kconfig-language.txt in the NuttX tools repository.
#
if USBDEV
comment "USB Device Controller Driver Options"
config USBDEV_ISOCHRONOUS
@@ -995,3 +997,5 @@ config CDCECM_PRODUCTSTR
endif # !CDCECM_COMPOSITE
endif # CDCECM
endif # USBDEV