aboutsummaryrefslogtreecommitdiff
path: root/hw/smbus.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/smbus.h')
-rw-r--r--hw/smbus.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/smbus.h b/hw/smbus.h
index 5b6e20f..d8c8059 100644
--- a/hw/smbus.h
+++ b/hw/smbus.h
@@ -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);