hw/i2c/smbus: Remove SMBusDevice from "qemu/typedefs.h"
Files requiring SMBusDevice already include "hw/i2c/smbus.h". To clean "qemu/typedefs.h", move the forward declaration to "hw/i2c/smbus.h". Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
a8b56ec836
commit
d183b00e8e
@ -35,6 +35,8 @@
|
|||||||
#define SMBUS_DEVICE_GET_CLASS(obj) \
|
#define SMBUS_DEVICE_GET_CLASS(obj) \
|
||||||
OBJECT_GET_CLASS(SMBusDeviceClass, (obj), TYPE_SMBUS_DEVICE)
|
OBJECT_GET_CLASS(SMBusDeviceClass, (obj), TYPE_SMBUS_DEVICE)
|
||||||
|
|
||||||
|
typedef struct SMBusDevice SMBusDevice;
|
||||||
|
|
||||||
typedef struct SMBusDeviceClass
|
typedef struct SMBusDeviceClass
|
||||||
{
|
{
|
||||||
I2CSlaveClass parent_class;
|
I2CSlaveClass parent_class;
|
||||||
|
@ -106,7 +106,6 @@ typedef struct RAMBlock RAMBlock;
|
|||||||
typedef struct Range Range;
|
typedef struct Range Range;
|
||||||
typedef struct SerialState SerialState;
|
typedef struct SerialState SerialState;
|
||||||
typedef struct SHPCDevice SHPCDevice;
|
typedef struct SHPCDevice SHPCDevice;
|
||||||
typedef struct SMBusDevice SMBusDevice;
|
|
||||||
typedef struct SSIBus SSIBus;
|
typedef struct SSIBus SSIBus;
|
||||||
typedef struct uWireSlave uWireSlave;
|
typedef struct uWireSlave uWireSlave;
|
||||||
typedef struct VirtIODevice VirtIODevice;
|
typedef struct VirtIODevice VirtIODevice;
|
||||||
|
Loading…
Reference in New Issue
Block a user