summary refs log tree commit diff stats
path: root/hw/tpm/tpm_tis_sysbus.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-13 17:22:27 +0000
committerRichard Henderson <richard.henderson@linaro.org>2024-12-15 12:56:29 -0600
commit3885fa159163230e338198e085f18b34ce1eb894 (patch)
tree1b5649a42f1fbe883f5cd16cc46f8409a77b548e /hw/tpm/tpm_tis_sysbus.c
parent74734e2b1b77b7753bd5f5578acfbb2a81fe3ec2 (diff)
downloadfocaccia-qemu-3885fa159163230e338198e085f18b34ce1eb894.tar.gz
focaccia-qemu-3885fa159163230e338198e085f18b34ce1eb894.zip
hw/tpm: Constify all Property
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to '')
-rw-r--r--hw/tpm/tpm_tis_sysbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/tpm/tpm_tis_sysbus.c b/hw/tpm/tpm_tis_sysbus.c
index 967f264634..88c1f1e478 100644
--- a/hw/tpm/tpm_tis_sysbus.c
+++ b/hw/tpm/tpm_tis_sysbus.c
@@ -90,7 +90,7 @@ static void tpm_tis_sysbus_reset(DeviceState *dev)
     return tpm_tis_reset(s);
 }
 
-static Property tpm_tis_sysbus_properties[] = {
+static const Property tpm_tis_sysbus_properties[] = {
     DEFINE_PROP_UINT32("irq", TPMStateSysBus, state.irq_num, TPM_TIS_IRQ),
     DEFINE_PROP_TPMBE("tpmdev", TPMStateSysBus, state.be_driver),
     DEFINE_PROP_END_OF_LIST(),