aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vl.h b/vl.h
index 49f5efff3d..bc3e6cfebe 100644
--- a/vl.h
+++ b/vl.h
@@ -1506,6 +1506,9 @@ uint8_t nand_getio(struct nand_flash_s *s);
#include "ecc.h"
+/* GPIO */
+typedef void (*gpio_handler_t)(int line, int level, void *opaque);
+
/* ads7846.c */
struct ads7846_state_s;
uint32_t ads7846_read(void *opaque);