From: Mike Frysinger Date: Mon, 10 Oct 2011 02:41:07 +0000 (+0000) Subject: sim: dv-cfi: include common headers only X-Git-Tag: sid-snapshot-20111101~234 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d56a2aaeddd077f23cb8d19651a6cfd4f67e791b;p=thirdparty%2Fbinutils-gdb.git sim: dv-cfi: include common headers only The "devices.h" header is Blackfin-specific, so trying to build dv-cfi for any other target fails. Include the specific hw headers this file needs directly. Signed-off-by: Mike Frysinger --- diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 36460021401..f88343bb6cb 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,7 @@ +2011-10-09 Mike Frysinger + + * dv-cfi.c: Replace devices.h include with hw-base.h and hw-main.h. + 2011-10-04 Mike Frysinger * aclocal.m4 (SIM_AC_COMMON): Call AM_ZLIB, ACX_PKGVERSION, and diff --git a/sim/common/dv-cfi.c b/sim/common/dv-cfi.c index 52dcf456576..42d868c8f28 100644 --- a/sim/common/dv-cfi.c +++ b/sim/common/dv-cfi.c @@ -33,7 +33,8 @@ #endif #include "sim-main.h" -#include "devices.h" +#include "hw-base.h" +#include "hw-main.h" #include "dv-cfi.h" /* Flashes are simple state machines, so here we cover all the