pckbd: alter i8042_mm_init() to return a I8042_MMIO device
commit903dd0e49b5140df55d6f77f97c741f99346c23e
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 24 Jun 2022 13:40:42 +0000 (24 14:40 +0100)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Sun, 26 Jun 2022 17:40:12 +0000 (26 18:40 +0100)
tree267e8eb3ca419264a563c0cd419c9ca43694cab0
parent47fc74154c1dd68d70209a87213805fdad0d2790
pckbd: alter i8042_mm_init() to return a I8042_MMIO device

This exposes the I8042_MMIO device to the caller to allow the register memory
region to be mapped outside of i8042_mm_init().

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Acked-by: Helge Deller <deller@gmx.de>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20220624134109.881989-28-mark.cave-ayland@ilande.co.uk>
hw/input/pckbd.c
include/hw/input/i8042.h