summaryrefslogtreecommitdiffstats
path: root/chipdrivers.h
diff options
context:
space:
mode:
Diffstat (limited to 'chipdrivers.h')
-rw-r--r--chipdrivers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chipdrivers.h b/chipdrivers.h
index 92ddbea..3f5b503 100644
--- a/chipdrivers.h
+++ b/chipdrivers.h
@@ -25,6 +25,8 @@
#ifndef __CHIPDRIVERS_H__
#define __CHIPDRIVERS_H__ 1
+#include "flash.h" /* for chipaddr and flashchip */
+
/* spi.c, should probably be in spi_chip.c */
int probe_spi_rdid(struct flashchip *flash);
int probe_spi_rdid4(struct flashchip *flash);
OpenPOWER on IntegriCloud