aspeed: include qemu/log.h

This is not visible with the default "log" trace backend.  With other
backends however trace.h does not include qemu/log.h, resulting in
build failures.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1463745452-25831-2-git-send-email-pbonzini@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
Paolo Bonzini 2016-05-20 13:57:32 +02:00 committed by Peter Maydell
parent 6bd8ab6889
commit 22b31af26f
2 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,7 @@
#include <inttypes.h> #include <inttypes.h>
#include "hw/intc/aspeed_vic.h" #include "hw/intc/aspeed_vic.h"
#include "qemu/bitops.h" #include "qemu/bitops.h"
#include "qemu/log.h"
#include "trace.h" #include "trace.h"
#define AVIC_NEW_BASE_OFFSET 0x80 #define AVIC_NEW_BASE_OFFSET 0x80

View File

@ -17,6 +17,7 @@
#include "qemu/bitops.h" #include "qemu/bitops.h"
#include "qemu/main-loop.h" #include "qemu/main-loop.h"
#include "qemu/timer.h" #include "qemu/timer.h"
#include "qemu/log.h"
#include "trace.h" #include "trace.h"
#define TIMER_NR_REGS 4 #define TIMER_NR_REGS 4