We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 283d5fa commit 8b7b012Copy full SHA for 8b7b012
drivers/flash/flash_stm32_qspi.c
@@ -20,6 +20,7 @@
20
#include <zephyr/drivers/flash.h>
21
#include <zephyr/drivers/dma.h>
22
#include <zephyr/drivers/dma/dma_stm32.h>
23
+#include <zephyr/drivers/gpio.h>
24
25
#if DT_INST_NODE_HAS_PROP(0, spi_bus_width) && \
26
DT_INST_PROP(0, spi_bus_width) == 4
@@ -29,9 +30,7 @@
29
30
#endif
31
32
#define STM32_QSPI_RESET_GPIO DT_INST_NODE_HAS_PROP(0, reset_gpios)
-#if STM32_QSPI_RESET_GPIO
33
-#include <zephyr/drivers/gpio.h>
34
-#endif
+
35
#include <stm32_ll_dma.h>
36
37
#include "spi_nor.h"
0 commit comments