diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-13 16:15:59 +0000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-12-15 12:55:39 -0600 |
commit | 30029973103ac7f7ffb7bce0f088b773ad9f5dae (patch) | |
tree | 924ee7b9dec346b9a2e51482ceac64f61f378b13 /hw/misc/sifive_u_otp.c | |
parent | 56d8d2b34288c3ea6b62d9e0069cc927d542ea93 (diff) | |
download | qemu-30029973103ac7f7ffb7bce0f088b773ad9f5dae.zip qemu-30029973103ac7f7ffb7bce0f088b773ad9f5dae.tar.gz qemu-30029973103ac7f7ffb7bce0f088b773ad9f5dae.tar.bz2 |
hw/misc: Constify all Property
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/misc/sifive_u_otp.c')
-rw-r--r-- | hw/misc/sifive_u_otp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/sifive_u_otp.c b/hw/misc/sifive_u_otp.c index 8965f5c..32cd8e8 100644 --- a/hw/misc/sifive_u_otp.c +++ b/hw/misc/sifive_u_otp.c @@ -194,7 +194,7 @@ static const MemoryRegionOps sifive_u_otp_ops = { } }; -static Property sifive_u_otp_properties[] = { +static const Property sifive_u_otp_properties[] = { DEFINE_PROP_UINT32("serial", SiFiveUOTPState, serial, 0), DEFINE_PROP_DRIVE("drive", SiFiveUOTPState, blk), DEFINE_PROP_END_OF_LIST(), |