diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-06-10 09:41:42 +0200 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2009-06-11 13:47:36 +0100 |
commit | 074f2fff798cb8f9588080b740dc356217a24720 (patch) | |
tree | 4a7267d64bbe8d679627699b6545c9fcd23bb270 /hw/smbus.h | |
parent | 57b452a8487df30d084ce2b56a993ba7473469e3 (diff) | |
download | qemu-074f2fff798cb8f9588080b740dc356217a24720.zip qemu-074f2fff798cb8f9588080b740dc356217a24720.tar.gz qemu-074f2fff798cb8f9588080b740dc356217a24720.tar.bz2 |
qdev: move name+size into DeviceInfo (v2)
Rationale: move device information from code to data structures.
v2: Adapt the drivers missed in the first version.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/smbus.h')
-rw-r--r-- | hw/smbus.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -53,7 +53,7 @@ typedef struct { uint8_t (*read_data)(SMBusDevice *dev, uint8_t cmd, int n); } SMBusDeviceInfo; -void smbus_register_device(const char *name, int size, SMBusDeviceInfo *info); +void smbus_register_device(SMBusDeviceInfo *info); /* Master device commands. */ void smbus_quick_command(i2c_bus *bus, int addr, int read); |