diff options
author | Corey Minyard <cminyard@mvista.com> | 2018-11-13 18:31:27 -0600 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2019-02-27 21:06:08 -0600 |
commit | 93198b6cad8af03996373584284a1673ad6000cb (patch) | |
tree | 48246569bdd5c188b7db9252706d3a22b3f11564 /hw/i2c/smbus_eeprom.c | |
parent | 86c7e2f4a93322a76afea5ee6806a83420d1dfea (diff) |
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/smbus_eeprom.c')
-rw-r--r-- | hw/i2c/smbus_eeprom.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/i2c/smbus_eeprom.c b/hw/i2c/smbus_eeprom.c index 01b9439014..c8f6f4b442 100644 --- a/hw/i2c/smbus_eeprom.c +++ b/hw/i2c/smbus_eeprom.c @@ -27,7 +27,8 @@ #include "qapi/error.h" #include "hw/hw.h" #include "hw/i2c/i2c.h" -#include "hw/i2c/smbus.h" +#include "hw/i2c/smbus_slave.h" +#include "hw/i2c/smbus_eeprom.h" //#define DEBUG |