aboutsummaryrefslogtreecommitdiff
path: root/hw/tpm/tpm_tis_i2c.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_i2c.c
parent74734e2b1b77b7753bd5f5578acfbb2a81fe3ec2 (diff)
downloadqemu-3885fa159163230e338198e085f18b34ce1eb894.zip
qemu-3885fa159163230e338198e085f18b34ce1eb894.tar.gz
qemu-3885fa159163230e338198e085f18b34ce1eb894.tar.bz2
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 'hw/tpm/tpm_tis_i2c.c')
-rw-r--r--hw/tpm/tpm_tis_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/tpm/tpm_tis_i2c.c b/hw/tpm/tpm_tis_i2c.c
index c5548b0..b27af23 100644
--- a/hw/tpm/tpm_tis_i2c.c
+++ b/hw/tpm/tpm_tis_i2c.c
@@ -491,7 +491,7 @@ static int tpm_tis_i2c_send(I2CSlave *i2c, uint8_t data)
return 1;
}
-static Property tpm_tis_i2c_properties[] = {
+static const Property tpm_tis_i2c_properties[] = {
DEFINE_PROP_TPMBE("tpmdev", TPMStateI2C, state.be_driver),
DEFINE_PROP_END_OF_LIST(),
};