summary refs log tree commit diff stats
path: root/hw/versatilepb.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/versatilepb.c')
-rw-r--r--hw/versatilepb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/versatilepb.c b/hw/versatilepb.c
index 19b66bb402..ac630e85e3 100644
--- a/hw/versatilepb.c
+++ b/hw/versatilepb.c
@@ -237,7 +237,7 @@ static void versatile_init(ram_addr_t ram_size,
 #endif
 
     /* Add PL031 Real Time Clock. */
-    pl031_init(0x101e8000,pic[10]);
+    sysbus_create_simple("pl031", 0x101e8000, pic[10]);
 
     /* Memory map for Versatile/PB:  */
     /* 0x10000000 System registers.  */