aboutsummaryrefslogtreecommitdiff
path: root/hw/i2c.h
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2009-05-14 22:35:08 +0100
committerPaul Brook <paul@codesourcery.com>2009-05-14 22:35:08 +0100
commitcdbe40ca836624a474bf8378b78a715ded36178c (patch)
tree25f499586b74a30a975b331f1f038a3d1d55bb80 /hw/i2c.h
parent697454eb8e2335c21e07b8cd0a7468d1c53bed08 (diff)
downloadqemu-cdbe40ca836624a474bf8378b78a715ded36178c.zip
qemu-cdbe40ca836624a474bf8378b78a715ded36178c.tar.gz
qemu-cdbe40ca836624a474bf8378b78a715ded36178c.tar.bz2
WM8750 qdev coversion
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/i2c.h')
-rw-r--r--hw/i2c.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/i2c.h b/hw/i2c.h
index 723dbdc..99e0dbc 100644
--- a/hw/i2c.h
+++ b/hw/i2c.h
@@ -80,9 +80,7 @@ qemu_irq *max7310_gpio_in_get(i2c_slave *i2c);
void max7310_gpio_out_set(i2c_slave *i2c, int line, qemu_irq handler);
/* wm8750.c */
-i2c_slave *wm8750_init(i2c_bus *bus);
-void wm8750_reset(i2c_slave *i2c);
-void wm8750_data_req_set(i2c_slave *i2c,
+void wm8750_data_req_set(DeviceState *dev,
void (*data_req)(void *, int, int), void *opaque);
void wm8750_dac_dat(void *opaque, uint32_t sample);
uint32_t wm8750_adc_dat(void *opaque);