summary refs log tree commit diff stats
path: root/hw/dma/i8257.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-13 15:33:04 +0000
committerRichard Henderson <richard.henderson@linaro.org>2024-12-15 12:54:54 -0600
commit7d6a82a3e64d37a83d4ac2fc5234420046523b77 (patch)
tree28df216ea4fd6116a8f71fc3a47996f3da81827c /hw/dma/i8257.c
parentd432edd56c270d3b7322d85489bd45116bd7e2e2 (diff)
downloadfocaccia-qemu-7d6a82a3e64d37a83d4ac2fc5234420046523b77.tar.gz
focaccia-qemu-7d6a82a3e64d37a83d4ac2fc5234420046523b77.zip
hw/dma: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/dma/i8257.c')
-rw-r--r--hw/dma/i8257.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dma/i8257.c b/hw/dma/i8257.c
index 3e6700e53b..8b04177393 100644
--- a/hw/dma/i8257.c
+++ b/hw/dma/i8257.c
@@ -585,7 +585,7 @@ static void i8257_realize(DeviceState *dev, Error **errp)
     d->dma_bh = qemu_bh_new(i8257_dma_run, d);
 }
 
-static Property i8257_properties[] = {
+static const Property i8257_properties[] = {
     DEFINE_PROP_INT32("base", I8257State, base, 0x00),
     DEFINE_PROP_INT32("page-base", I8257State, page_base, 0x80),
     DEFINE_PROP_INT32("pageh-base", I8257State, pageh_base, 0x480),