diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-13 15:33:04 +0000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2024-12-15 12:54:54 -0600 |
| commit | 7d6a82a3e64d37a83d4ac2fc5234420046523b77 (patch) | |
| tree | 28df216ea4fd6116a8f71fc3a47996f3da81827c /hw/dma/i8257.c | |
| parent | d432edd56c270d3b7322d85489bd45116bd7e2e2 (diff) | |
| download | focaccia-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.c | 2 |
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), |