diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2015-03-19 13:08:40 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2015-04-04 09:45:59 +0300 |
commit | ecf2e5a46d7559f258a2c914131ba25d3c5326bf (patch) | |
tree | 33c360f8ba8f9ebc4c4c8bc2da67b1f887c0a194 /hw/audio | |
parent | f2155a089600e80cf7bcdc814520ef3304882cc4 (diff) |
pcspk: Fix I/O port name
Probably a copy&paste bug. Fixing it helps identifying the device model
behind port 0x61.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/audio')
-rw-r--r-- | hw/audio/pcspk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/audio/pcspk.c b/hw/audio/pcspk.c index 1d81bbe6aa..5266fb5457 100644 --- a/hw/audio/pcspk.c +++ b/hw/audio/pcspk.c @@ -167,7 +167,7 @@ static void pcspk_initfn(Object *obj) { PCSpkState *s = PC_SPEAKER(obj); - memory_region_init_io(&s->ioport, OBJECT(s), &pcspk_io_ops, s, "elcr", 1); + memory_region_init_io(&s->ioport, OBJECT(s), &pcspk_io_ops, s, "pcspk", 1); } static void pcspk_realizefn(DeviceState *dev, Error **errp) |