mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
lasips2: introduce LASIPS2PortDeviceClass for the LASIPS2_PORT device
This will soon be used to store the reference to the LASIPS2_PORT parent device for LASIPS2_KBD_PORT and LASIPS2_MOUSE_PORT. 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-26-mark.cave-ayland@ilande.co.uk> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
This commit is contained in:
parent
8db817be78
commit
62201e4336
2 changed files with 7 additions and 1 deletions
|
@ -26,7 +26,11 @@
|
|||
#include "hw/input/ps2.h"
|
||||
|
||||
#define TYPE_LASIPS2_PORT "lasips2-port"
|
||||
OBJECT_DECLARE_SIMPLE_TYPE(LASIPS2Port, LASIPS2_PORT)
|
||||
OBJECT_DECLARE_TYPE(LASIPS2Port, LASIPS2PortDeviceClass, LASIPS2_PORT)
|
||||
|
||||
struct LASIPS2PortDeviceClass {
|
||||
DeviceClass parent;
|
||||
};
|
||||
|
||||
typedef struct LASIPS2State LASIPS2State;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue