Skip to content

Commit

Permalink
hw/rtc/mc146818rtc: Rename RTCState -> MC146818RtcState
Browse files Browse the repository at this point in the history
RTCState only represents a Motorola MC146818 model,
not any RTC chipset. Rename the structure as MC146818RtcState
using:

  $ sed -i -e s/RTCState/MC146818RtcState/g $(git grep -wl RTCState)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230210233116.80311-2-philmd@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
  • Loading branch information
philmd committed Feb 27, 2023
1 parent 8e7db8a commit 8df7129
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 64 deletions.
2 changes: 1 addition & 1 deletion hw/isa/piix4.c
Expand Up @@ -47,7 +47,7 @@ struct PIIX4State {
qemu_irq cpu_intr;
qemu_irq *isa;

RTCState rtc;
MC146818RtcState rtc;
PCIIDEState ide;
UHCIState uhci;
PIIX4PMState pm;
Expand Down
2 changes: 1 addition & 1 deletion hw/isa/vt82c686.c
Expand Up @@ -550,7 +550,7 @@ struct ViaISAState {
qemu_irq cpu_intr;
qemu_irq *isa_irqs_in;
ViaSuperIOState via_sio;
RTCState rtc;
MC146818RtcState rtc;
PCIIDEState ide;
UHCIState uhci[2];
ViaPMState pm;
Expand Down

0 comments on commit 8df7129

Please sign in to comment.