From 7e16e18405ec1971931aa76cf0279952c360cc7d Mon Sep 17 00:00:00 2001 From: hailfinger Date: Fri, 20 Jul 2012 20:35:14 +0000 Subject: 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 Acked-by: Carl-Daniel Hailfinger git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1549 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- physmap.c | 1 + 1 file changed, 1 insertion(+) (limited to 'physmap.c') diff --git a/physmap.c b/physmap.c index e54dee4..eca6760 100644 --- a/physmap.c +++ b/physmap.c @@ -25,6 +25,7 @@ #include #include #include "flash.h" +#include "hwaccess.h" /* Do we need any file access or ioctl for physmap or MSR? */ #if !defined(__DJGPP__) && !defined(__LIBPAYLOAD__) -- cgit v1.2.1