diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-13 17:22:27 +0000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-12-15 12:56:29 -0600 |
commit | 3885fa159163230e338198e085f18b34ce1eb894 (patch) | |
tree | 1b5649a42f1fbe883f5cd16cc46f8409a77b548e /hw/tpm/tpm_tis_i2c.c | |
parent | 74734e2b1b77b7753bd5f5578acfbb2a81fe3ec2 (diff) | |
download | qemu-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.c | 2 |
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(), }; |