diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2010-05-14 16:29:17 +0900 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-05-15 16:21:49 +0000 |
commit | 1d914fa0af66024faee8cc6fa3043a935f95f775 (patch) | |
tree | 76fe5f88cb67e1f4e5f322fda4c44eb81b3a4859 /hw/pc_piix.c | |
parent | e1460e4707cd80982add597f5cb421289db84e4e (diff) | |
download | qemu-1d914fa0af66024faee8cc6fa3043a935f95f775.zip qemu-1d914fa0af66024faee8cc6fa3043a935f95f775.tar.gz qemu-1d914fa0af66024faee8cc6fa3043a935f95f775.tar.bz2 |
rtc: make rtc_xxx accept/return ISADevice instead of RTCState.
To match rtc_xxx with qdev, make rtc_xxx accept and return ISADevice
instead of RTCState.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/pc_piix.c')
-rw-r--r-- | hw/pc_piix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pc_piix.c b/hw/pc_piix.c index 52d8591..a0ed7ad 100644 --- a/hw/pc_piix.c +++ b/hw/pc_piix.c @@ -61,7 +61,7 @@ static void pc_init1(ram_addr_t ram_size, IsaIrqState *isa_irq_state; DriveInfo *hd[MAX_IDE_BUS * MAX_IDE_DEVS]; FDCtrl *floppy_controller; - RTCState *rtc_state; + ISADevice *rtc_state; pc_cpus_init(cpu_model); |