diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-06-06 21:25:08 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-07-04 17:42:47 +0200 |
commit | b716368778aebdb523546d72a28706420a8c32ae (patch) | |
tree | 184134482e43ec9643448ffd41e2503efb3e5130 /hw/gpio/puv3_gpio.c | |
parent | 3eadad551d3d5901b75f8c53dbd57b9bec2f2b01 (diff) | |
download | qemu-b716368778aebdb523546d72a28706420a8c32ae.zip qemu-b716368778aebdb523546d72a28706420a8c32ae.tar.gz qemu-b716368778aebdb523546d72a28706420a8c32ae.tar.bz2 |
hw/gpio: pass owner to memory_region_init* functions
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/gpio/puv3_gpio.c')
-rw-r--r-- | hw/gpio/puv3_gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/gpio/puv3_gpio.c b/hw/gpio/puv3_gpio.c index 333c920..18671eb 100644 --- a/hw/gpio/puv3_gpio.c +++ b/hw/gpio/puv3_gpio.c @@ -112,7 +112,7 @@ static int puv3_gpio_init(SysBusDevice *dev) sysbus_init_irq(dev, &s->irq[PUV3_IRQS_GPIOLOW7]); sysbus_init_irq(dev, &s->irq[PUV3_IRQS_GPIOHIGH]); - memory_region_init_io(&s->iomem, NULL, &puv3_gpio_ops, s, "puv3_gpio", + memory_region_init_io(&s->iomem, OBJECT(s), &puv3_gpio_ops, s, "puv3_gpio", PUV3_REGS_OFFSET); sysbus_init_mmio(dev, &s->iomem); |