diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-13 15:41:52 +0000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2024-12-15 12:55:06 -0600 |
| commit | aaa1f1a5246c818a39d15c286bb8ace377501d00 (patch) | |
| tree | ebb140dc693d6d229b56bbd1e821b1b40b4e0566 /hw/ide/isa.c | |
| parent | 90d45638af23c3cdab9d357306026751f8431b83 (diff) | |
| download | focaccia-qemu-aaa1f1a5246c818a39d15c286bb8ace377501d00.tar.gz focaccia-qemu-aaa1f1a5246c818a39d15c286bb8ace377501d00.zip | |
hw/ide: Constify all Property
Reviewed-by: Bernhard Beschow <shentey@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/ide/isa.c')
| -rw-r--r-- | hw/ide/isa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide/isa.c b/hw/ide/isa.c index 211ebc9ba7..a0a7e4837c 100644 --- a/hw/ide/isa.c +++ b/hw/ide/isa.c @@ -101,7 +101,7 @@ ISADevice *isa_ide_init(ISABus *bus, int iobase, int iobase2, int irqnum, return isadev; } -static Property isa_ide_properties[] = { +static const Property isa_ide_properties[] = { DEFINE_PROP_UINT32("iobase", ISAIDEState, iobase, 0x1f0), DEFINE_PROP_UINT32("iobase2", ISAIDEState, iobase2, 0x3f6), DEFINE_PROP_UINT32("irq", ISAIDEState, irqnum, 14), |