Skip to content

Commit 77c2c45

Browse files
manuarguekartben
authored andcommitted
drivers: dma: esp32: guard driver's kconfig options
Wrap the driver's options to prevent them from showing up in the global Kconfig menu. Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
1 parent b751bc0 commit 77c2c45

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/dma/Kconfig.esp32

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@ config DMA_ESP32
88
help
99
General Purpose DMA for ESP32 series.
1010

11+
if DMA_ESP32
12+
1113
config DMA_ESP32_MAX_DESCRIPTOR_NUM
1214
int "Maximal number of available DMA descriptors"
1315
default 16
1416
help
1517
Reserves memory for a maximal number of descriptors
18+
19+
endif # DMA_ESP32

0 commit comments

Comments
 (0)