~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to hw/misc/tmp105.c

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
176
176
    return 0;
177
177
}
178
178
 
179
 
static void tmp105_event(I2CSlave *i2c, enum i2c_event event)
 
179
static int tmp105_event(I2CSlave *i2c, enum i2c_event event)
180
180
{
181
181
    TMP105State *s = TMP105(i2c);
182
182
 
185
185
    }
186
186
 
187
187
    s->len = 0;
 
188
    return 0;
188
189
}
189
190
 
190
191
static int tmp105_post_load(void *opaque, int version_id)