Revision 54e17933 hw/omap.h

b/hw/omap.h
764 764
void omap_mmc_enable(struct omap_mmc_s *s, int enable);
765 765

  
766 766
/* omap_i2c.c */
767
struct omap_i2c_s;
768
struct omap_i2c_s *omap_i2c_init(MemoryRegion *sysmem,
769
                                 target_phys_addr_t base,
770
                                 qemu_irq irq,
771
                                 qemu_irq *dma,
772
                                 omap_clk clk);
773
struct omap_i2c_s *omap2_i2c_init(struct omap_target_agent_s *ta,
774
                qemu_irq irq, qemu_irq *dma, omap_clk fclk, omap_clk iclk);
775
void omap_i2c_reset(struct omap_i2c_s *s);
776
i2c_bus *omap_i2c_bus(struct omap_i2c_s *s);
767
i2c_bus *omap_i2c_bus(DeviceState *omap_i2c);
777 768

  
778 769
# define cpu_is_omap310(cpu)		(cpu->mpu_model == omap310)
779 770
# define cpu_is_omap1510(cpu)		(cpu->mpu_model == omap1510)
......
867 858

  
868 859
    struct omap_pwl_s *pwl;
869 860
    struct omap_pwt_s *pwt;
870
    struct omap_i2c_s *i2c[2];
861
    DeviceState *i2c[2];
871 862

  
872 863
    struct omap_rtc_s *rtc;
873 864

  

Also available in: Unified diff