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>
This commit is contained in:
Mark Cave-Ayland 2022-07-12 22:52:13 +01:00
parent bce0e9c1ec
commit b6c575d8d6

View File

@ -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 = {