From d56a2aaeddd077f23cb8d19651a6cfd4f67e791b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 10 Oct 2011 02:41:07 +0000 Subject: [PATCH] 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 --- sim/common/ChangeLog | 4 ++++ sim/common/dv-cfi.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.30.2