mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
Revert "Get rid of _t suffix"
In the very least, a change like this requires discussion on the list.
The naming convention is goofy and it causes a massive merge problem. Something
like this _must_ be presented on the list first so people can provide input
and cope with it.
This reverts commit 99a0949b72
.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
99a0949b72
commit
c227f0995e
316 changed files with 3332 additions and 3325 deletions
|
@ -140,7 +140,7 @@ void omap_i2c_reset(struct omap_i2c_s *s)
|
|||
s->test = 0;
|
||||
}
|
||||
|
||||
static uint32_t omap_i2c_read(void *opaque, a_target_phys_addr addr)
|
||||
static uint32_t omap_i2c_read(void *opaque, target_phys_addr_t addr)
|
||||
{
|
||||
struct omap_i2c_s *s = (struct omap_i2c_s *) opaque;
|
||||
int offset = addr & OMAP_MPUI_REG_MASK;
|
||||
|
@ -238,7 +238,7 @@ static uint32_t omap_i2c_read(void *opaque, a_target_phys_addr addr)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static void omap_i2c_write(void *opaque, a_target_phys_addr addr,
|
||||
static void omap_i2c_write(void *opaque, target_phys_addr_t addr,
|
||||
uint32_t value)
|
||||
{
|
||||
struct omap_i2c_s *s = (struct omap_i2c_s *) opaque;
|
||||
|
@ -380,7 +380,7 @@ static void omap_i2c_write(void *opaque, a_target_phys_addr addr,
|
|||
}
|
||||
}
|
||||
|
||||
static void omap_i2c_writeb(void *opaque, a_target_phys_addr addr,
|
||||
static void omap_i2c_writeb(void *opaque, target_phys_addr_t addr,
|
||||
uint32_t value)
|
||||
{
|
||||
struct omap_i2c_s *s = (struct omap_i2c_s *) opaque;
|
||||
|
@ -420,7 +420,7 @@ static CPUWriteMemoryFunc * const omap_i2c_writefn[] = {
|
|||
omap_badwidth_write16,
|
||||
};
|
||||
|
||||
struct omap_i2c_s *omap_i2c_init(a_target_phys_addr base,
|
||||
struct omap_i2c_s *omap_i2c_init(target_phys_addr_t base,
|
||||
qemu_irq irq, qemu_irq *dma, omap_clk clk)
|
||||
{
|
||||
int iomemtype;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue