diff options
author | Philippe Mathieu-Daudé | 2021-06-17 13:53:21 +0200 |
---|---|---|
committer | Corey Minyard | 2021-07-08 21:15:01 +0200 |
commit | 426f53de9c2110b6c2a05fdc1a89f2e0c1a0b97e (patch) | |
tree | 5e19c3a849ed648316a41ff41e6dc1ca7097310c /include/hw/input/lm832x.h | |
parent | hw/input/lm832x: Move lm832x_key_event() declaration to "lm832x.h" (diff) | |
download | qemu-426f53de9c2110b6c2a05fdc1a89f2e0c1a0b97e.tar.gz qemu-426f53de9c2110b6c2a05fdc1a89f2e0c1a0b97e.tar.xz qemu-426f53de9c2110b6c2a05fdc1a89f2e0c1a0b97e.zip |
hw/input/lm832x: Define TYPE_LM8323 in public header
Define TYPE_LM8323 in the public "hw/input/lm832x.h"
header and use it in hw/arm/nseries.c.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'include/hw/input/lm832x.h')
-rw-r--r-- | include/hw/input/lm832x.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/input/lm832x.h b/include/hw/input/lm832x.h index f47e579ff9..2a58ccf891 100644 --- a/include/hw/input/lm832x.h +++ b/include/hw/input/lm832x.h @@ -21,6 +21,8 @@ #ifndef HW_INPUT_LM832X #define HW_INPUT_LM832X +#define TYPE_LM8323 "lm8323" + void lm832x_key_event(DeviceState *dev, int key, int state); #endif |