hw/i2c: QOM'ify omap_i2c.c
commit758aba7d73aae491a675760a158a4a83b10a953d
authorxiaoqiang zhao <zxq_yx_007@163.com>
Tue, 14 Jun 2016 14:59:13 +0000 (14 15:59 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 14 Jun 2016 14:59:13 +0000 (14 15:59 +0100)
treec443c4e0df153d00a4ccc3b3548bccc5bb44ed9b
parent93d6599f46124a0b357e52dec098c53be797090a
hw/i2c: QOM'ify omap_i2c.c

* Split the omap_i2c_init into an instance_init and realize function
* Drop the old SysBus init function and use instance_init

Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com>
Message-id: 1465815255-21776-4-git-send-email-zxq_yx_007@163.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/i2c/omap_i2c.c