diff options
author | Keqian Zhu <zhukeqian1@huawei.com> | 2021-04-08 22:07:06 +0800 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2021-05-02 17:24:50 +0200 |
commit | ac701a4f98d68156fcddbe3bb3f7c3869b8c646e (patch) | |
tree | 52794b914e38bb73ce8b1656c52dd64890d96821 /include/hw/block/flash.h | |
parent | 04a252112119d34e10d9b0bd65c499e1b17dc8fe (diff) |
vmstate: Constify some VMStateDescriptions
Constify vmstate_ecc_state and vmstate_x86_cpu.
Signed-off-by: Keqian Zhu <zhukeqian1@huawei.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210408140706.23412-1-zhukeqian1@huawei.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'include/hw/block/flash.h')
-rw-r--r-- | include/hw/block/flash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/block/flash.h b/include/hw/block/flash.h index 7dde0adcee..86d8363bb0 100644 --- a/include/hw/block/flash.h +++ b/include/hw/block/flash.h @@ -74,6 +74,6 @@ typedef struct { uint8_t ecc_digest(ECCState *s, uint8_t sample); void ecc_reset(ECCState *s); -extern VMStateDescription vmstate_ecc_state; +extern const VMStateDescription vmstate_ecc_state; #endif |