summaryrefslogtreecommitdiffstats
path: root/board_enable.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
commit3977dc742fc2dc342c5a15b5c2c9f0fbb194445f (patch)
tree0641d77a791290f6842fd60446e87871f6867651 /board_enable.c
parent46b7999a08289059563e2fb683eb69b4a40cfe3c (diff)
downloadflashrom-3977dc742fc2dc342c5a15b5c2c9f0fbb194445f.zip
flashrom-3977dc742fc2dc342c5a15b5c2c9f0fbb194445f.tar.gz
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 'board_enable.c')
-rw-r--r--board_enable.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board_enable.c b/board_enable.c
index 98607aa..04cb557 100644
--- a/board_enable.c
+++ b/board_enable.c
@@ -27,6 +27,7 @@
#include <string.h>
#include "flash.h"
#include "programmer.h"
+#include "hwaccess.h"
#if defined(__i386__) || defined(__x86_64__)
/*
OpenPOWER on IntegriCloud