aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2019-10-04 01:03:52 +0200
committerLaurent Vivier <laurent@vivier.eu>2019-10-24 20:10:27 +0200
commit877c181cd41e024ba1d076f96efe3c5777938846 (patch)
tree4e5d3249f5eade8ad4cd44be1cef9c4227fa2027 /include
parent2baa483bb76f3e3924a799f90ff47f48e3237a59 (diff)
downloadqemu-877c181cd41e024ba1d076f96efe3c5777938846.zip
qemu-877c181cd41e024ba1d076f96efe3c5777938846.tar.gz
qemu-877c181cd41e024ba1d076f96efe3c5777938846.tar.bz2
hw: Move PL031 device from hw/timer/ to hw/rtc/ subdirectory
The PL031 is a Real Time Clock, not a timer. Move it under the hw/rtc/ subdirectory. Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Acked-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20191003230404.19384-3-philmd@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'include')
-rw-r--r--include/hw/rtc/pl031.h (renamed from include/hw/timer/pl031.h)5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/hw/timer/pl031.h b/include/hw/rtc/pl031.h
index 8c3f555..e3cb1d6 100644
--- a/include/hw/timer/pl031.h
+++ b/include/hw/rtc/pl031.h
@@ -11,10 +11,11 @@
* GNU GPL, version 2 or (at your option) any later version.
*/
-#ifndef HW_TIMER_PL031_H
-#define HW_TIMER_PL031_H
+#ifndef HW_RTC_PL031_H
+#define HW_RTC_PL031_H
#include "hw/sysbus.h"
+#include "qemu/timer.h"
#define TYPE_PL031 "pl031"
#define PL031(obj) OBJECT_CHECK(PL031State, (obj), TYPE_PL031)