mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-01-25 06:27:22 -07:00
hw: Move Aspeed RTC from hw/timer/ to hw/rtc/ subdirectory
Move RTC devices under the hw/rtc/ subdirectory. Reviewed-by: Cédric Le Goater <clg@kaod.org> 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-12-philmd@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
7f0df1ccdf
commit
ea5dcf4e1d
7 changed files with 11 additions and 10 deletions
|
|
@ -18,7 +18,7 @@
|
|||
#include "hw/misc/aspeed_sdmc.h"
|
||||
#include "hw/misc/aspeed_xdma.h"
|
||||
#include "hw/timer/aspeed_timer.h"
|
||||
#include "hw/timer/aspeed_rtc.h"
|
||||
#include "hw/rtc/aspeed_rtc.h"
|
||||
#include "hw/i2c/aspeed_i2c.h"
|
||||
#include "hw/ssi/aspeed_smc.h"
|
||||
#include "hw/watchdog/wdt_aspeed.h"
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@
|
|||
* Copyright 2019 IBM Corp
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*/
|
||||
#ifndef ASPEED_RTC_H
|
||||
#define ASPEED_RTC_H
|
||||
#ifndef HW_RTC_ASPEED_RTC_H
|
||||
#define HW_RTC_ASPEED_RTC_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
|
@ -27,4 +27,4 @@ typedef struct AspeedRtcState {
|
|||
#define TYPE_ASPEED_RTC "aspeed.rtc"
|
||||
#define ASPEED_RTC(obj) OBJECT_CHECK(AspeedRtcState, (obj), TYPE_ASPEED_RTC)
|
||||
|
||||
#endif /* ASPEED_RTC_H */
|
||||
#endif /* HW_RTC_ASPEED_RTC_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue