diff options
author | Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com> | 2012-06-28 12:52:23 +1000 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2012-09-19 18:48:08 +0200 |
commit | c0a1dcb9f0baf9269f8baeb02cbcca8dad75454c (patch) | |
tree | bb69d616a4fabc31236f24854d45380937231c29 /hw/xilinx_timer.c | |
parent | 55d4fd3c24bd253bd96270c7fdf1bb862f3a3400 (diff) |
xilinx_timer: Removed comma in device name
Fixes an error in a61e4b07a30c062260d2d01771773f14820d1eb7
Signed-off-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>
Diffstat (limited to 'hw/xilinx_timer.c')
-rw-r--r-- | hw/xilinx_timer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xilinx_timer.c b/hw/xilinx_timer.c index b562bd065e..053ba02b50 100644 --- a/hw/xilinx_timer.c +++ b/hw/xilinx_timer.c @@ -217,7 +217,7 @@ static int xilinx_timer_init(SysBusDevice *dev) ptimer_set_freq(xt->ptimer, t->freq_hz); } - memory_region_init_io(&t->mmio, &timer_ops, t, "xlnx,xps-timer", + memory_region_init_io(&t->mmio, &timer_ops, t, "xlnx.xps-timer", R_MAX * 4 * num_timers(t)); sysbus_init_mmio(dev, &t->mmio); return 0; @@ -239,7 +239,7 @@ static void xilinx_timer_class_init(ObjectClass *klass, void *data) } static TypeInfo xilinx_timer_info = { - .name = "xlnx,xps-timer", + .name = "xlnx.xps-timer", .parent = TYPE_SYS_BUS_DEVICE, .instance_size = sizeof(struct timerblock), .class_init = xilinx_timer_class_init, |