]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/nand.c
savevm: Add DeviceState param
[mirror_qemu.git] / hw / nand.c
index cd7444f9a5e37a37944b7051d155a4f6ddda8412..f414aa139b149b5ccd6c77b958507e20d5feb11c 100644 (file)
--- a/hw/nand.c
+++ b/hw/nand.c
@@ -502,7 +502,7 @@ NANDFlashState *nand_init(int manf_id, int chip_id)
        is used.  */
     s->ioaddr = s->io;
 
-    register_savevm("nand", -1, 0, nand_save, nand_load, s);
+    register_savevm(NULL, "nand", -1, 0, nand_save, nand_load, s);
 
     return s;
 }