summaryrefslogtreecommitdiff
path: root/components/drivers/spi
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-01-30 12:33:19 +0800
committerGitHub <[email protected]>2021-01-30 12:33:19 +0800
commit97cc8a8f72838deb0273a3e60ae29319edd7e4f7 (patch)
tree240ca2dbffead9d828c59719b447844ab63c5e52 /components/drivers/spi
parent7405618eafd9d0acd1d6da7ccd014700e9c17768 (diff)
parent45963a16b07857fadec81ff1d7cf6d16deeaddb5 (diff)
Merge pull request #14 from RT-Thread/master
pr
Diffstat (limited to 'components/drivers/spi')
-rw-r--r--components/drivers/spi/spi_flash.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/drivers/spi/spi_flash.h b/components/drivers/spi/spi_flash.h
index 30db32474a..82b1ab2ecd 100644
--- a/components/drivers/spi/spi_flash.h
+++ b/components/drivers/spi/spi_flash.h
@@ -6,11 +6,14 @@
* Change Logs:
* Date Author Notes
* 2016/5/20 bernard the first version
+ * 2020/1/7 redoc add include
*/
#ifndef SPI_FLASH_H__
#define SPI_FLASH_H__
+#include <rtdevice.h>
+
struct spi_flash_device
{
struct rt_device flash_device;