aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-06-17 13:53:21 +0200
committerCorey Minyard <cminyard@mvista.com>2021-07-08 14:15:01 -0500
commit426f53de9c2110b6c2a05fdc1a89f2e0c1a0b97e (patch)
tree5e19c3a849ed648316a41ff41e6dc1ca7097310c /include
parent410bbee1b23faf25349355b13317078f5a73a441 (diff)
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')
-rw-r--r--include/hw/input/lm832x.h2
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