[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 02/41] hw/ide: Constify sysbus_ahci_properties
From: |
Paolo Bonzini |
Subject: |
[PULL 02/41] hw/ide: Constify sysbus_ahci_properties |
Date: |
Thu, 19 Dec 2024 09:31:49 +0100 |
From: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Link:
20241216035109.3486070-3-richard.henderson@linaro.org">https://lore.kernel.org/r/20241216035109.3486070-3-richard.henderson@linaro.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
hw/ide/ahci-sysbus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/ide/ahci-sysbus.c b/hw/ide/ahci-sysbus.c
index d43db0923f1..2432039290b 100644
--- a/hw/ide/ahci-sysbus.c
+++ b/hw/ide/ahci-sysbus.c
@@ -62,7 +62,7 @@ static void sysbus_ahci_realize(DeviceState *dev, Error
**errp)
ahci_realize(&s->ahci, dev, &address_space_memory);
}
-static Property sysbus_ahci_properties[] = {
+static const Property sysbus_ahci_properties[] = {
DEFINE_PROP_UINT32("num-ports", SysbusAHCIState, ahci.ports, 1),
DEFINE_PROP_END_OF_LIST(),
};
--
2.47.1
- [PULL 00/41] Rust, qdev, target/i386 changes for 2024-12-19, Paolo Bonzini, 2024/12/19
- [PULL 01/41] migration: Constify migration_properties, Paolo Bonzini, 2024/12/19
- [PULL 02/41] hw/ide: Constify sysbus_ahci_properties,
Paolo Bonzini <=
- [PULL 03/41] target/ppc: Remove empty property list, Paolo Bonzini, 2024/12/19
- [PULL 04/41] target/s390x: Use s390x_cpu_properties for system mode only, Paolo Bonzini, 2024/12/19
- [PULL 06/41] hw/ppc: Only register spapr_nvdimm_properties if CONFIG_LIBPMEM, Paolo Bonzini, 2024/12/19
- [PULL 05/41] hw/pci-host/astro: Remove empty Property list, Paolo Bonzini, 2024/12/19
- [PULL 08/41] hw/s390x: Remove empty Property lists, Paolo Bonzini, 2024/12/19
- [PULL 09/41] hw/xen: Remove empty Property lists, Paolo Bonzini, 2024/12/19
- [PULL 10/41] hw/sparc: Remove empty Property lists, Paolo Bonzini, 2024/12/19
- [PULL 11/41] hw/virtio: Remove empty Property lists, Paolo Bonzini, 2024/12/19
- [PULL 12/41] include/hw/qdev-core: Detect most empty Property lists at compile time, Paolo Bonzini, 2024/12/19
- [PULL 07/41] hw/tricore: Remove empty Property lists, Paolo Bonzini, 2024/12/19