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:
parent
4b06ace975
commit
846dc3f880
1 changed files with 0 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue