diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig index 6fc8854b574..22381500afe 100644 --- a/drivers/core/Kconfig +++ b/drivers/core/Kconfig @@ -275,6 +275,10 @@ config DEVRES non-managed variants. For example, devres_alloc() to kzalloc(), devm_kmalloc() to kmalloc(), etc. +config SPL_DEVRES + def_bool n # Managed device resources (SPL) + depends on SPL_DM + config DEBUG_DEVRES bool "Managed device resources debugging functions" depends on DEVRES
This is implicitly used in the source and seems useful, so add it. Signed-off-by: Simon Glass <sjg@chromium.org> --- (no changes since v1) drivers/core/Kconfig | 4 ++++ 1 file changed, 4 insertions(+)