aboutsummaryrefslogtreecommitdiff
path: root/include/hw/block/flash.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/block/flash.h')
-rw-r--r--include/hw/block/flash.h2
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