diff options
author | hailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2012-07-20 20:35:14 +0000 |
---|---|---|
committer | hailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2012-07-20 20:35:14 +0000 |
commit | 7e16e18405ec1971931aa76cf0279952c360cc7d (patch) | |
tree | 0641d77a791290f6842fd60446e87871f6867651 /wbsio_spi.c | |
parent | 09f649c339b398504e00115fc63ad737986257e0 (diff) | |
download | flashrom-7e16e18405ec1971931aa76cf0279952c360cc7d.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.
Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1549 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'wbsio_spi.c')
-rw-r--r-- | wbsio_spi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wbsio_spi.c b/wbsio_spi.c index 38ac2d8..7d4bb2a 100644 --- a/wbsio_spi.c +++ b/wbsio_spi.c @@ -23,6 +23,7 @@ #include "flash.h" #include "chipdrivers.h" #include "programmer.h" +#include "hwaccess.h" #include "spi.h" #define WBSIO_PORT1 0x2e |