diff options
| author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2022-06-24 14:40:26 +0100 |
|---|---|---|
| committer | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2022-06-26 18:40:11 +0100 |
| commit | 4a68b4822ffceb40c34cf62847ff0da52532abb4 (patch) | |
| tree | 87f4b179c21339d43505fc6e31f9b2c12462ab41 /docs/sphinx/kerneldoc.py | |
| parent | ea247a0f3696a0ccdbc7ab818c1c15e5b53e4c31 (diff) | |
| download | focaccia-qemu-4a68b4822ffceb40c34cf62847ff0da52532abb4.tar.gz focaccia-qemu-4a68b4822ffceb40c34cf62847ff0da52532abb4.zip | |
ps2: implement ps2_mouse_realize() and use it to register ps2_mouse_handler
Move the registration of ps2_mouse_handler from ps2_mouse_init() to a new ps2_mouse_realize() function. Since the abstract PS2_DEVICE parent class doesn't have a realize() function then it is not necessary to store the reference to it in PS2DeviceClass and use device_class_set_parent_realize(). Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Acked-by: Helge Deller <deller@gmx.de> Message-Id: <20220624134109.881989-12-mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'docs/sphinx/kerneldoc.py')
0 files changed, 0 insertions, 0 deletions