]> Git Repo - qemu.git/blobdiff - hw/timer/twl92230.c
Merge remote-tracking branch 'remotes/dgilbert/tags/pull-migration-20170213a' into...
[qemu.git] / hw / timer / twl92230.c
index b8d914e49b61c6c7d0c88a2b6151c3a9007665bb..c0aa8ae3def27c95128982228c5bf09ca7cf31dc 100644 (file)
@@ -749,17 +749,21 @@ static int menelaus_rx(I2CSlave *i2c)
    Or we broke compatibility in the state, or we can't use struct tm
  */
 
-static int get_int32_as_uint16(QEMUFile *f, void *pv, size_t size)
+static int get_int32_as_uint16(QEMUFile *f, void *pv, size_t size,
+                               VMStateField *field)
 {
     int *v = pv;
     *v = qemu_get_be16(f);
     return 0;
 }
 
-static void put_int32_as_uint16(QEMUFile *f, void *pv, size_t size)
+static int put_int32_as_uint16(QEMUFile *f, void *pv, size_t size,
+                               VMStateField *field, QJSON *vmdesc)
 {
     int *v = pv;
     qemu_put_be16(f, *v);
+
+    return 0;
 }
 
 static const VMStateInfo vmstate_hack_int32_as_uint16 = {
This page took 0.020546 seconds and 4 git commands to generate.