aboutsummaryrefslogtreecommitdiff
path: root/hw/stellaris.c
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2009-05-14 22:35:08 +0100
committerPaul Brook <paul@codesourcery.com>2009-05-14 22:35:08 +0100
commitd2199005d558962641169178cf668be946026797 (patch)
tree20f3870e24142585f8a284f9f6f8a7d7e931a0c5 /hw/stellaris.c
parentfe8de49258d2351472ad395b85966f7204f22a01 (diff)
SSD0303 qdev conversion
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/stellaris.c')
-rw-r--r--hw/stellaris.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/stellaris.c b/hw/stellaris.c
index 8d0995a99b..b7b98ab9b3 100644
--- a/hw/stellaris.c
+++ b/hw/stellaris.c
@@ -1324,7 +1324,7 @@ static void stellaris_init(const char *kernel_filename, const char *cpu_model,
i2c = i2c_init_bus();
stellaris_i2c_init(0x40020000, pic[8], i2c);
if (board->peripherals & BP_OLED_I2C) {
- ssd0303_init(i2c, 0x3d);
+ i2c_create_slave(i2c, "ssd0303", 0x3d);
}
}