aboutsummaryrefslogtreecommitdiff
path: root/include/hw/i2c/ppc4xx_i2c.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/i2c/ppc4xx_i2c.h')
-rw-r--r--include/hw/i2c/ppc4xx_i2c.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/i2c/ppc4xx_i2c.h b/include/hw/i2c/ppc4xx_i2c.h
index ea6c8e1a58..0891a9c948 100644
--- a/include/hw/i2c/ppc4xx_i2c.h
+++ b/include/hw/i2c/ppc4xx_i2c.h
@@ -46,7 +46,8 @@ typedef struct PPC4xxI2CState {
qemu_irq irq;
MemoryRegion iomem;
bitbang_i2c_interface *bitbang;
- uint8_t mdata;
+ int mdidx;
+ uint8_t mdata[4];
uint8_t lmadr;
uint8_t hmadr;
uint8_t cntl;