aboutsummaryrefslogtreecommitdiff
path: root/hw/smbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/smbus.c')
-rw-r--r--hw/smbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/smbus.c b/hw/smbus.c
index 81e887b2a4..6eb8412401 100644
--- a/hw/smbus.c
+++ b/hw/smbus.c
@@ -61,7 +61,7 @@ static void smbus_do_write(SMBusDevice *dev)
}
}
-void smbus_i2c_event(i2c_slave *s, enum i2c_event event)
+static void smbus_i2c_event(i2c_slave *s, enum i2c_event event)
{
SMBusDevice *dev = (SMBusDevice *)s;
switch (event) {