mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
hw/i2c/versatile_i2c: Replace TYPE_VERSATILE_I2C -> TYPE_ARM_SBCON_I2C
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20230110082508.24038-4-philmd@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
92518611ac
commit
550da1cc22
5 changed files with 6 additions and 7 deletions
|
@ -31,7 +31,7 @@
|
|||
|
||||
typedef ArmSbconI2CState VersatileI2CState;
|
||||
DECLARE_INSTANCE_CHECKER(ArmSbconI2CState, VERSATILE_I2C,
|
||||
TYPE_VERSATILE_I2C)
|
||||
TYPE_ARM_SBCON_I2C)
|
||||
|
||||
|
||||
|
||||
|
@ -98,7 +98,7 @@ static void versatile_i2c_init(Object *obj)
|
|||
}
|
||||
|
||||
static const TypeInfo versatile_i2c_info = {
|
||||
.name = TYPE_VERSATILE_I2C,
|
||||
.name = TYPE_ARM_SBCON_I2C,
|
||||
.parent = TYPE_SYS_BUS_DEVICE,
|
||||
.instance_size = sizeof(ArmSbconI2CState),
|
||||
.instance_init = versatile_i2c_init,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue