hw/misc/xlnx-versal-trng: Constify trng_props
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 13 Dec 2024 16:23:55 +0000 (16:23 +0000)
committerRichard Henderson <richard.henderson@linaro.org>
Sun, 15 Dec 2024 18:55:33 +0000 (12:55 -0600)
commit56d8d2b34288c3ea6b62d9e0069cc927d542ea93
tree177bfdbd71d984b7865c9d5dc3a4836a1d65de67
parentce385ef3cceeb9e6d1a80b1ef6f96133b060bd58
hw/misc/xlnx-versal-trng: Constify trng_props

Use DEFINE_PROP_UNSIGNED instead of DEFINE_PROP_UINT64
so that we can set the PropertyInfo during initialization,
instead of updating within trng_class_init.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
hw/misc/xlnx-versal-trng.c