diff options
Diffstat (limited to 'hw/isa/apm.c')
-rw-r--r-- | hw/isa/apm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/isa/apm.c b/hw/isa/apm.c index 5f21d21473..daed6f1b51 100644 --- a/hw/isa/apm.c +++ b/hw/isa/apm.c @@ -96,7 +96,7 @@ void apm_init(PCIDevice *dev, APMState *apm, apm_ctrl_changed_t callback, apm->arg = arg; /* ioport 0xb2, 0xb3 */ - memory_region_init_io(&apm->io, &apm_ops, apm, "apm-io", 2); + memory_region_init_io(&apm->io, NULL, &apm_ops, apm, "apm-io", 2); memory_region_add_subregion(pci_address_space_io(dev), APM_CNT_IOPORT, &apm->io); } |