summaryrefslogtreecommitdiff
path: root/hw/i2c.h
diff options
context:
space:
mode:
authorAlex Horn <alex.horn@cs.ox.ac.uk>2012-12-05 12:34:06 +0000
committerAnthony Liguori <aliguori@us.ibm.com>2012-12-23 14:37:51 -0600
commit2915efbfa8efadaa2806e827ba92b8dba4f7cd52 (patch)
treec3887980d6b85ae57fb749ac3e0b74492c6cd7ed /hw/i2c.h
parenteac236ea7bfc1902126be70459e320591078df5c (diff)
downloadqemu-2915efbfa8efadaa2806e827ba92b8dba4f7cd52.tar.gz
tmp105: Create API for TMP105 temperature sensor.
* Define enum for TMP105 registers * Move tmp105_set() from I2C to TMP105 header * Document units and range of temperature as preconditions Reviewed-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Alex Horn <alex.horn@cs.ox.ac.uk> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/i2c.h')
-rw-r--r--hw/i2c.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/hw/i2c.h b/hw/i2c.h
index 0f5682b4b0..883b5c588d 100644
--- a/hw/i2c.h
+++ b/hw/i2c.h
@@ -73,9 +73,6 @@ void *wm8750_dac_buffer(void *opaque, int samples);
void wm8750_dac_commit(void *opaque);
void wm8750_set_bclk_in(void *opaque, int new_hz);
-/* tmp105.c */
-void tmp105_set(I2CSlave *i2c, int temp);
-
/* lm832x.c */
void lm832x_key_event(DeviceState *dev, int key, int state);