summaryrefslogtreecommitdiff
path: root/hw/syborg_keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/syborg_keyboard.c')
-rw-r--r--hw/syborg_keyboard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/syborg_keyboard.c b/hw/syborg_keyboard.c
index 7709100c14..d295e99ebd 100644
--- a/hw/syborg_keyboard.c
+++ b/hw/syborg_keyboard.c
@@ -210,7 +210,8 @@ static int syborg_keyboard_init(SysBusDevice *dev)
sysbus_init_irq(dev, &s->irq);
iomemtype = cpu_register_io_memory(syborg_keyboard_readfn,
- syborg_keyboard_writefn, s);
+ syborg_keyboard_writefn, s,
+ DEVICE_NATIVE_ENDIAN);
sysbus_init_mmio(dev, 0x1000, iomemtype);
if (s->fifo_size <= 0) {
fprintf(stderr, "syborg_keyboard: fifo too small\n");