summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/common/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/mediatek/common/include')
-rw-r--r--src/soc/mediatek/common/include/soc/spi_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/mediatek/common/include/soc/spi_common.h b/src/soc/mediatek/common/include/soc/spi_common.h
index 81a9098180..1ecb94dab0 100644
--- a/src/soc/mediatek/common/include/soc/spi_common.h
+++ b/src/soc/mediatek/common/include/soc/spi_common.h
@@ -16,6 +16,7 @@
#ifndef MTK_COMMON_SPI_H
#define MTK_COMMON_SPI_H
+#include <soc/gpio_base.h>
#include <spi-generic.h>
enum {
@@ -77,6 +78,7 @@ struct mtk_spi_bus {
struct mtk_spi_regs *regs;
int initialized;
int state;
+ gpio_t cs_gpio;
};
extern const struct spi_ctrlr spi_ctrlr;