summary refs log tree commit diff stats
path: root/hw/i2c/pm_smbus.c
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2018-11-13 18:31:27 -0600
committerCorey Minyard <cminyard@mvista.com>2019-02-27 21:06:08 -0600
commit93198b6cad8af03996373584284a1673ad6000cb (patch)
tree48246569bdd5c188b7db9252706d3a22b3f11564 /hw/i2c/pm_smbus.c
parent86c7e2f4a93322a76afea5ee6806a83420d1dfea (diff)
downloadfocaccia-qemu-93198b6cad8af03996373584284a1673ad6000cb.tar.gz
focaccia-qemu-93198b6cad8af03996373584284a1673ad6000cb.zip
i2c: Split smbus into parts
smbus.c and smbus.h had device side code, master side code, and
smbus.h has some smbus_eeprom.c definitions.  Split them into
separate files.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'hw/i2c/pm_smbus.c')
-rw-r--r--hw/i2c/pm_smbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i2c/pm_smbus.c b/hw/i2c/pm_smbus.c
index 03062740cc..6cfb7eb1b3 100644
--- a/hw/i2c/pm_smbus.c
+++ b/hw/i2c/pm_smbus.c
@@ -20,7 +20,7 @@
 #include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/i2c/pm_smbus.h"
-#include "hw/i2c/smbus.h"
+#include "hw/i2c/smbus_master.h"
 
 #define SMBHSTSTS       0x00
 #define SMBHSTCNT       0x02