summary refs log tree commit diff stats
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 0d35bb68ab..b6b0662403 100644
--- a/hw/smbus.h
+++ b/hw/smbus.h
@@ -22,7 +22,7 @@
  * THE SOFTWARE.
  */
 
-typedef struct SMBusDevice SMBusDevice;
+#include "i2c.h"
 
 struct SMBusDevice {
     /* The SMBus protocol is implemented on top of I2C.  */