diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-02-10 09:49:30 +0100 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-02-16 14:26:07 +0100 |
| commit | d31f1185fb029b44c439a6961a6cb087df6567d9 (patch) | |
| tree | 252d1d945b42d9ee9d59d03933608bb066a3d3ed /hw/rtc/m48t59.c | |
| parent | 94dbecb994a38cafa057e5bfa515cef6faadcea4 (diff) | |
| download | focaccia-qemu-d31f1185fb029b44c439a6961a6cb087df6567d9.tar.gz focaccia-qemu-d31f1185fb029b44c439a6961a6cb087df6567d9.zip | |
hw: Declare various const data as 'const'
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20250210133134.90879-7-philmd@linaro.org>
Diffstat (limited to 'hw/rtc/m48t59.c')
| -rw-r--r-- | hw/rtc/m48t59.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/rtc/m48t59.c b/hw/rtc/m48t59.c index c9bd6f878f..3fb2f27d9d 100644 --- a/hw/rtc/m48t59.c +++ b/hw/rtc/m48t59.c @@ -639,7 +639,7 @@ static void m48txx_sysbus_class_init(ObjectClass *klass, void *data) static void m48txx_sysbus_concrete_class_init(ObjectClass *klass, void *data) { M48txxSysBusDeviceClass *u = M48TXX_SYS_BUS_CLASS(klass); - M48txxInfo *info = data; + const M48txxInfo *info = data; u->info = *info; } |