aboutsummaryrefslogtreecommitdiff
path: root/hw/input
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2022-07-12 22:52:13 +0100
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2022-07-18 19:28:45 +0100
commitb6c575d8d6312eb0c6126e7423f41c11b2547d8e (patch)
tree03fe37579c1fd28a5c0404eefe8160e98ee6da4d /hw/input
parentbce0e9c1ec206bf1e6554b25ae60d7f524682ddc (diff)
downloadqemu-b6c575d8d6312eb0c6126e7423f41c11b2547d8e.zip
qemu-b6c575d8d6312eb0c6126e7423f41c11b2547d8e.tar.gz
qemu-b6c575d8d6312eb0c6126e7423f41c11b2547d8e.tar.bz2
pl050: rename pl050_keyboard_init() to pl050_kbd_init()
This is for consistency with all of the other devices that use the PS2 keyboard device. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Tested-by: Helge Deller <deller@gmx.de> Acked-by: Helge Deller <deller@gmx.de> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20220712215251.7944-3-mark.cave-ayland@ilande.co.uk> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'hw/input')
-rw-r--r--hw/input/pl050.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/input/pl050.c b/hw/input/pl050.c
index c7980b6..8e32b8e 100644
--- a/hw/input/pl050.c
+++ b/hw/input/pl050.c
@@ -166,7 +166,7 @@ static void pl050_realize(DeviceState *dev, Error **errp)
qdev_get_gpio_in_named(dev, "ps2-input-irq", 0));
}
-static void pl050_keyboard_init(Object *obj)
+static void pl050_kbd_init(Object *obj)
{
PL050State *s = PL050(obj);
@@ -183,7 +183,7 @@ static void pl050_mouse_init(Object *obj)
static const TypeInfo pl050_kbd_info = {
.name = "pl050_keyboard",
.parent = TYPE_PL050,
- .instance_init = pl050_keyboard_init,
+ .instance_init = pl050_kbd_init,
};
static const TypeInfo pl050_mouse_info = {