From 77c2c454f70ceb9fb3e058e6523acccbe665cc76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Arg=C3=BCelles?= Date: Sat, 31 May 2025 15:21:43 +0700 Subject: [PATCH] drivers: dma: esp32: guard driver's kconfig options MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Wrap the driver's options to prevent them from showing up in the global Kconfig menu. Signed-off-by: Manuel Argüelles --- drivers/dma/Kconfig.esp32 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/dma/Kconfig.esp32 b/drivers/dma/Kconfig.esp32 index ef74df4abb0..97cc1c2d308 100644 --- a/drivers/dma/Kconfig.esp32 +++ b/drivers/dma/Kconfig.esp32 @@ -8,8 +8,12 @@ config DMA_ESP32 help General Purpose DMA for ESP32 series. +if DMA_ESP32 + config DMA_ESP32_MAX_DESCRIPTOR_NUM int "Maximal number of available DMA descriptors" default 16 help Reserves memory for a maximal number of descriptors + +endif # DMA_ESP32