summaryrefslogtreecommitdiffstats
path: root/it85spi.c
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@secunet.com>2012-07-20 20:35:14 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2012-07-20 20:35:14 +0000
commit32508eb304428551cff40b291d44823aafec7574 (patch)
tree0641d77a791290f6842fd60446e87871f6867651 /it85spi.c
parent3834c2d7e5a08e09e580be0dc7f9369c941b2a70 (diff)
downloadflashrom-32508eb304428551cff40b291d44823aafec7574.tar.gz
flashrom-32508eb304428551cff40b291d44823aafec7574.tar.bz2
flashrom-32508eb304428551cff40b291d44823aafec7574.zip
Hide hwaccess.h from public API
Move hwaccess.h #include from flash.h to individual drivers. libflashrom users need flash.h, but they do not care about hwaccess.h and should not see its definitions because they may conflict with other hardware access functions and #defines used by the libflashrom user. Corresponding to flashrom svn r1549. Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'it85spi.c')
-rw-r--r--it85spi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/it85spi.c b/it85spi.c
index a5d5c2e4d..0b074eb10 100644
--- a/it85spi.c
+++ b/it85spi.c
@@ -32,6 +32,7 @@
#include "flash.h"
#include "spi.h"
#include "programmer.h"
+#include "hwaccess.h"
#define MAX_TIMEOUT 100000
#define MAX_TRY 5