summary refs log tree commit diff stats
path: root/hw/timer/aspeed_timer.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-05-20 13:57:32 +0200
committerPeter Maydell <peter.maydell@linaro.org>2016-05-20 13:09:22 +0100
commit22b31af26ff31ef97a9d482fb5e336d699ae33f3 (patch)
tree66daeff2d071fe73e65da8518f0a30431bad940a /hw/timer/aspeed_timer.c
parent6bd8ab6889f45a42d69a3a65a4d6e7fc2453c84c (diff)
downloadfocaccia-qemu-22b31af26ff31ef97a9d482fb5e336d699ae33f3.tar.gz
focaccia-qemu-22b31af26ff31ef97a9d482fb5e336d699ae33f3.zip
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>
Diffstat (limited to 'hw/timer/aspeed_timer.c')
-rw-r--r--hw/timer/aspeed_timer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/timer/aspeed_timer.c b/hw/timer/aspeed_timer.c
index ebec35935d..4b94808821 100644
--- a/hw/timer/aspeed_timer.c
+++ b/hw/timer/aspeed_timer.c
@@ -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