From cdbe40ca836624a474bf8378b78a715ded36178c Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Thu, 14 May 2009 22:35:08 +0100 Subject: WM8750 qdev coversion Signed-off-by: Paul Brook --- hw/i2c.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'hw/i2c.h') 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); -- cgit v1.2.3