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 /include/hw/i2c/pm_smbus.h | |
| parent | 86c7e2f4a93322a76afea5ee6806a83420d1dfea (diff) | |
| download | focaccia-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 'include/hw/i2c/pm_smbus.h')
| -rw-r--r-- | include/hw/i2c/pm_smbus.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/i2c/pm_smbus.h b/include/hw/i2c/pm_smbus.h index 060d3c6ac0..6dd5b7040b 100644 --- a/include/hw/i2c/pm_smbus.h +++ b/include/hw/i2c/pm_smbus.h @@ -1,6 +1,8 @@ #ifndef PM_SMBUS_H #define PM_SMBUS_H +#include "hw/i2c/smbus_master.h" + #define PM_SMBUS_MAX_MSG_SIZE 32 typedef struct PMSMBus { |