]> git.proxmox.com Git - mirror_qemu.git/commit
hw/ide/mmio: Use CamelCase for MMIO_IDE state name
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 6 Jan 2023 10:37:55 +0000 (11:37 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 27 Feb 2023 21:29:02 +0000 (22:29 +0100)
commitc79f63ff39d8b48a88104f08dccad76eccb5f27a
tree5183ffe9ca534d122959f9918cc2c78632665e96
parenteb8fde18abc317d612c5d12bc273c5a42a912c5e
hw/ide/mmio: Use CamelCase for MMIO_IDE state name

Following docs/devel/style.rst guidelines, rename MMIOIDEState
as IdeMmioState.

Having the structure name and its typedef named equally,
we can manually convert from the old DECLARE_INSTANCE_CHECKER()
macro to the more recent OBJECT_DECLARE_SIMPLE_TYPE().

Note, due to that name mismatch, this macro wasn't automatically
converted during commit 8063396bf3 ("Use OBJECT_DECLARE_SIMPLE_TYPE
when possible").

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230220091358.17038-3-philmd@linaro.org>
hw/ide/mmio.c