diff options
| author | Paul Brook <paul@codesourcery.com> | 2009-05-14 22:35:08 +0100 |
|---|---|---|
| committer | Paul Brook <paul@codesourcery.com> | 2009-05-14 22:35:08 +0100 |
| commit | cdbe40ca836624a474bf8378b78a715ded36178c (patch) | |
| tree | 25f499586b74a30a975b331f1f038a3d1d55bb80 /hw/i2c.h | |
| parent | 697454eb8e2335c21e07b8cd0a7468d1c53bed08 (diff) | |
| download | focaccia-qemu-cdbe40ca836624a474bf8378b78a715ded36178c.tar.gz focaccia-qemu-cdbe40ca836624a474bf8378b78a715ded36178c.zip | |
WM8750 qdev coversion
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/i2c.h')
| -rw-r--r-- | hw/i2c.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/i2c.h b/hw/i2c.h index 723dbdc1e3..99e0dbcd5f 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); |