summary refs log tree commit diff stats
path: root/hw/display/macfb.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-13 15:31:19 +0000
committerRichard Henderson <richard.henderson@linaro.org>2024-12-15 12:54:51 -0600
commitd432edd56c270d3b7322d85489bd45116bd7e2e2 (patch)
tree83c351ad7e7082d5a5a51147252628a3de2ee73b /hw/display/macfb.c
parent2a3f565c529088df051f3cf1d34f6389626af261 (diff)
downloadfocaccia-qemu-d432edd56c270d3b7322d85489bd45116bd7e2e2.tar.gz
focaccia-qemu-d432edd56c270d3b7322d85489bd45116bd7e2e2.zip
hw/display: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/display/macfb.c')
-rw-r--r--hw/display/macfb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/display/macfb.c b/hw/display/macfb.c
index a5b4a499f3..977901bfdd 100644
--- a/hw/display/macfb.c
+++ b/hw/display/macfb.c
@@ -758,7 +758,7 @@ static void macfb_nubus_reset(DeviceState *d)
     macfb_reset(&s->macfb);
 }
 
-static Property macfb_sysbus_properties[] = {
+static const Property macfb_sysbus_properties[] = {
     DEFINE_PROP_UINT32("width", MacfbSysBusState, macfb.width, 640),
     DEFINE_PROP_UINT32("height", MacfbSysBusState, macfb.height, 480),
     DEFINE_PROP_UINT8("depth", MacfbSysBusState, macfb.depth, 8),
@@ -777,7 +777,7 @@ static const VMStateDescription vmstate_macfb_sysbus = {
     }
 };
 
-static Property macfb_nubus_properties[] = {
+static const Property macfb_nubus_properties[] = {
     DEFINE_PROP_UINT32("width", MacfbNubusState, macfb.width, 640),
     DEFINE_PROP_UINT32("height", MacfbNubusState, macfb.height, 480),
     DEFINE_PROP_UINT8("depth", MacfbNubusState, macfb.depth, 8),