projects
/
qemu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add PowerPC power-management state check callback.
[qemu]
/
hw
/
smbus_eeprom.c
diff --git
a/hw/smbus_eeprom.c
b/hw/smbus_eeprom.c
index
5b8637d
..
cf54c34
100644
(file)
--- a/
hw/smbus_eeprom.c
+++ b/
hw/smbus_eeprom.c
@@
-94,7
+94,7
@@
static uint8_t eeprom_read_data(SMBusDevice *dev, uint8_t cmd, int n)
void smbus_eeprom_device_init(i2c_bus *bus, uint8_t addr, uint8_t *buf)
{
SMBusEEPROMDevice *eeprom;
-
+
eeprom = (SMBusEEPROMDevice *)smbus_device_init(bus, addr,
sizeof(SMBusEEPROMDevice));