[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 02/24] hw/ide: Constify sysbus_ahci_properties
From: |
Richard Henderson |
Subject: |
[PATCH 02/24] hw/ide: Constify sysbus_ahci_properties |
Date: |
Sun, 15 Dec 2024 21:50:47 -0600 |
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
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 d43db0923f..2432039290 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.43.0
- [PATCH 00/24] More Property cleanups, Richard Henderson, 2024/12/15
- [PATCH 01/24] migration: Constify migration_properties, Richard Henderson, 2024/12/15
- [PATCH 03/24] target/ppc: Remove empty property list, Richard Henderson, 2024/12/15
- [PATCH 05/24] hw/pci-host/astro: Remove empty Property list, Richard Henderson, 2024/12/15
- [PATCH 02/24] hw/ide: Constify sysbus_ahci_properties,
Richard Henderson <=
- [PATCH 07/24] hw/tricore: Remove empty Property lists, Richard Henderson, 2024/12/15
- [PATCH 04/24] target/s390x: Use s390x_cpu_properties for system mode only, Richard Henderson, 2024/12/15
- [PATCH 06/24] hw/ppc: Only register spapr_nvdimm_properties if CONFIG_LIBPMEM, Richard Henderson, 2024/12/15
- [PATCH 10/24] hw/sparc: Remove empty Property lists, Richard Henderson, 2024/12/15
- [PATCH 08/24] hw/s390x: Remove empty Property lists, Richard Henderson, 2024/12/15
- [PATCH 09/24] hw/xen: Remove empty Property lists, Richard Henderson, 2024/12/15
- [PATCH 12/24] include/hw/qdev-core: Detect most empty Property lists at compile time, Richard Henderson, 2024/12/15