From 2e9bdce56f307db907f4d6533d3a3917259f859f Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Thu, 14 May 2009 22:35:07 +0100 Subject: PL110 qdev conversion Signed-off-by: Paul Brook --- hw/integratorcp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'hw/integratorcp.c') diff --git a/hw/integratorcp.c b/hw/integratorcp.c index 8dfc63ed52..7f27d075c2 100644 --- a/hw/integratorcp.c +++ b/hw/integratorcp.c @@ -7,7 +7,7 @@ * This code is licenced under the GPL */ -#include "hw.h" +#include "sysbus.h" #include "primecell.h" #include "devices.h" #include "sysemu.h" @@ -495,7 +495,8 @@ static void integratorcp_init(ram_addr_t ram_size, pl181_init(0x1c000000, drives_table[sd].bdrv, pic[23], pic[24]); if (nd_table[0].vlan) smc91c111_init(&nd_table[0], 0xc8000000, pic[27]); - pl110_init(0xc0000000, pic[22], 0); + + sysbus_create_simple("pl110", 0xc0000000, pic[22]); integrator_binfo.ram_size = ram_size; integrator_binfo.kernel_filename = kernel_filename; -- cgit v1.2.3