drivers: flash: stm32: qspi: always include gpio header

Always include gpio header.

Signed-off-by: Georgij Cernysiov <geo.cgv@gmail.com>
This commit is contained in:
Georgij Cernysiov 2022-05-06 23:06:17 +02:00 committed by Marti Bolivar
commit a8e0699972

View file

@ -20,6 +20,7 @@
#include <zephyr/drivers/flash.h>
#include <zephyr/drivers/dma.h>
#include <zephyr/drivers/dma/dma_stm32.h>
#include <zephyr/drivers/gpio.h>
#if DT_INST_NODE_HAS_PROP(0, spi_bus_width) && \
DT_INST_PROP(0, spi_bus_width) == 4
@ -29,9 +30,7 @@
#endif
#define STM32_QSPI_RESET_GPIO DT_INST_NODE_HAS_PROP(0, reset_gpios)
#if STM32_QSPI_RESET_GPIO
#include <zephyr/drivers/gpio.h>
#endif
#include <stm32_ll_dma.h>
#include "spi_nor.h"