aboutsummaryrefslogtreecommitdiff
path: root/include/hw/input/i8042.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/input/i8042.h')
-rw-r--r--include/hw/input/i8042.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/input/i8042.h b/include/hw/input/i8042.h
index 8eaebf50ce..4569dfddd9 100644
--- a/include/hw/input/i8042.h
+++ b/include/hw/input/i8042.h
@@ -11,6 +11,7 @@
#include "hw/isa/isa.h"
#define TYPE_I8042 "i8042"
+#define I8042(obj) OBJECT_CHECK(ISAKBDState, (obj), TYPE_I8042)
#define I8042_A20_LINE "a20"