aboutsummaryrefslogtreecommitdiff
path: root/hw/scsi/mptsas.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-13 16:47:35 +0000
committerRichard Henderson <richard.henderson@linaro.org>2024-12-15 12:56:12 -0600
commitec7630a2a1ecb200bfb087dffcbf5437291edfc2 (patch)
tree3e538cef7038d35712d9299c665c5e1b09955619 /hw/scsi/mptsas.c
parent6048081263f9baa4550dd7c13b3d9a470a55eef7 (diff)
downloadqemu-ec7630a2a1ecb200bfb087dffcbf5437291edfc2.zip
qemu-ec7630a2a1ecb200bfb087dffcbf5437291edfc2.tar.gz
qemu-ec7630a2a1ecb200bfb087dffcbf5437291edfc2.tar.bz2
hw/scsi: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/scsi/mptsas.c')
-rw-r--r--hw/scsi/mptsas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/scsi/mptsas.c b/hw/scsi/mptsas.c
index c6bc347..a06113d 100644
--- a/hw/scsi/mptsas.c
+++ b/hw/scsi/mptsas.c
@@ -1410,7 +1410,7 @@ static const VMStateDescription vmstate_mptsas = {
}
};
-static Property mptsas_properties[] = {
+static const Property mptsas_properties[] = {
DEFINE_PROP_UINT64("sas_address", MPTSASState, sas_addr, 0),
/* TODO: test MSI support under Windows */
DEFINE_PROP_ON_OFF_AUTO("msi", MPTSASState, msi, ON_OFF_AUTO_AUTO),