]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/sysbus: Have various helpers take a const SysBusDevice argument
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 24 Oct 2025 11:17:18 +0000 (13:17 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 28 Oct 2025 07:19:18 +0000 (08:19 +0100)
commit2226fa1a92c41d48e3d3d3e1ead42e979e331df2
tree8000d90d42758ee769c8570e6d99ccd3aa6a27b6
parent980f677c1ebb0a2f759f287b18245ac01682201c
hw/sysbus: Have various helpers take a const SysBusDevice argument

These getters don't update any SysBusDevice internal fields,
make the argument const.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20251024190416.8803-3-philmd@linaro.org>
hw/core/sysbus.c
include/hw/sysbus.h