drivers: flash: npcx: Fix compile error

Remove the #ifdef guard around a function prototype.  This was causing a
compile error when CONFIG_FLASH_NPCX_FIU_DRA_V2 was disabled.

Signed-off-by: Keith Short <keithshort@google.com>
This commit is contained in:
Keith Short 2025-01-15 09:46:06 -07:00 committed by Benjamin Cabé
parent 4b06ace975
commit 846dc3f880

View file

@ -97,7 +97,6 @@ void qspi_npcx_fiu_mutex_lock_configure(const struct device *dev,
*/
void qspi_npcx_fiu_mutex_unlock(const struct device *dev);
#if defined(CONFIG_FLASH_NPCX_FIU_DRA_V2)
/**
* @brief Set the size of the address space allocated for SPI device.
*
@ -105,7 +104,6 @@ void qspi_npcx_fiu_mutex_unlock(const struct device *dev);
* @param cfg Pointer to the configuration for the device on qspi bus.
*/
void qspi_npcx_fiu_set_spi_size(const struct device *dev, const struct npcx_qspi_cfg *cfg);
#endif
#ifdef __cplusplus
}