mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-11 03:24:58 -06:00
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:
parent
bce0e9c1ec
commit
b6c575d8d6
1 changed files with 2 additions and 2 deletions
|
@ -166,7 +166,7 @@ static void pl050_realize(DeviceState *dev, Error **errp)
|
||||||
qdev_get_gpio_in_named(dev, "ps2-input-irq", 0));
|
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);
|
PL050State *s = PL050(obj);
|
||||||
|
|
||||||
|
@ -183,7 +183,7 @@ static void pl050_mouse_init(Object *obj)
|
||||||
static const TypeInfo pl050_kbd_info = {
|
static const TypeInfo pl050_kbd_info = {
|
||||||
.name = "pl050_keyboard",
|
.name = "pl050_keyboard",
|
||||||
.parent = TYPE_PL050,
|
.parent = TYPE_PL050,
|
||||||
.instance_init = pl050_keyboard_init,
|
.instance_init = pl050_kbd_init,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const TypeInfo pl050_mouse_info = {
|
static const TypeInfo pl050_mouse_info = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue