drivers : flash: replace dt_nodelabel_has_prop()in xspi

Replace dt_nodelabel_has_prop() with
dt_compat_any_has_prop() in Kconfig.stm32_xspi

Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
This commit is contained in:
Khaoula Bidani 2025-02-03 14:53:30 +01:00 committed by Benjamin Cabé
parent cd004dd84f
commit fa2a3c39ff

View File

@ -3,7 +3,7 @@
# Copyright (c) 2024 STMicroelectronics
# SPDX-License-Identifier: Apache-2.0
DT_STM32_XSPI_HAS_DMA := $(dt_compat_any_has_prop,DT_COMPAT_ST_STM32_XSPI,dmas)
DT_STM32_XSPI_HAS_DMA := $(dt_compat_any_has_prop,$(DT_COMPAT_ST_STM32_XSPI),dmas)
config FLASH_STM32_XSPI
bool "STM32 XSPI Flash driver"