aspeed: include qemu/log.h
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 20 May 2016 11:57:32 +0000 (13:57 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 20 May 2016 12:09:22 +0000 (13:09 +0100)
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>
hw/intc/aspeed_vic.c
hw/timer/aspeed_timer.c

index 19a0ff74864eafb8de28ad01c269731a1fa78a02..725d5b62c5974374f969ff348fdcf51c409567f0 100644 (file)
@@ -31,6 +31,7 @@
 #include <inttypes.h>
 #include "hw/intc/aspeed_vic.h"
 #include "qemu/bitops.h"
+#include "qemu/log.h"
 #include "trace.h"
 
 #define AVIC_NEW_BASE_OFFSET 0x80
index ebec35935db88668fdf885b0adf0e0024d585883..4b94808821b44451f761cb8eb0ede075c374fb91 100644 (file)
@@ -17,6 +17,7 @@
 #include "qemu/bitops.h"
 #include "qemu/main-loop.h"
 #include "qemu/timer.h"
+#include "qemu/log.h"
 #include "trace.h"
 
 #define TIMER_NR_REGS 4