mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
i2c: Rename i2c_bus to I2CBus
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
6749695eaa
commit
a5c828525e
35 changed files with 91 additions and 91 deletions
|
@ -30,7 +30,7 @@ typedef struct OMAPI2CState {
|
|||
MemoryRegion iomem;
|
||||
qemu_irq irq;
|
||||
qemu_irq drq[2];
|
||||
i2c_bus *bus;
|
||||
I2CBus *bus;
|
||||
|
||||
uint8_t revision;
|
||||
void *iclk;
|
||||
|
@ -491,7 +491,7 @@ static void omap_i2c_register_types(void)
|
|||
type_register_static(&omap_i2c_info);
|
||||
}
|
||||
|
||||
i2c_bus *omap_i2c_bus(DeviceState *omap_i2c)
|
||||
I2CBus *omap_i2c_bus(DeviceState *omap_i2c)
|
||||
{
|
||||
OMAPI2CState *s = OMAP_I2C(omap_i2c);
|
||||
return s->bus;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue