Revision 81a322d4 hw/lm832x.c

b/hw/lm832x.c
488 488
    return 0;
489 489
}
490 490

  
491
static void lm8323_init(i2c_slave *i2c)
491
static int lm8323_init(i2c_slave *i2c)
492 492
{
493 493
    LM823KbdState *s = FROM_I2C_SLAVE(LM823KbdState, i2c);
494 494

  
......
502 502

  
503 503
    qemu_register_reset((void *) lm_kbd_reset, s);
504 504
    register_savevm("LM8323", -1, 0, lm_kbd_save, lm_kbd_load, s);
505
    return 0;
505 506
}
506 507

  
507 508
void lm832x_key_event(struct i2c_slave *i2c, int key, int state)

Also available in: Unified diff