aboutsummaryrefslogtreecommitdiff
path: root/drivers/spi/ich.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/ich.h')
-rw-r--r--drivers/spi/ich.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/spi/ich.h b/drivers/spi/ich.h
index 6344e80d637..bd0a8208096 100644
--- a/drivers/spi/ich.h
+++ b/drivers/spi/ich.h
@@ -127,8 +127,13 @@ struct spi_trans {
#define SPI_OPCODE_WREN 0x06
#define SPI_OPCODE_FAST_READ 0x0b
+enum ich_version {
+ ICHV_7,
+ ICHV_9,
+};
+
struct ich_spi_platdata {
- enum pch_version ich_version; /* Controller version, 7 or 9 */
+ enum ich_version ich_version; /* Controller version, 7 or 9 */
};
struct ich_spi_priv {