aboutsummaryrefslogtreecommitdiff
path: root/vl.h
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-30 02:33:10 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-30 02:33:10 +0000
commit2a1d1880e53d25fbec0e5d3f29f86cf65ad06241 (patch)
tree9287d91e36d4221d7b6ef5cdfc08e30908df6a84 /vl.h
parent9d55199763d4067158d6c556e78312f7d007d914 (diff)
Add missing gpio_handler_t definition.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2758 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.h')
-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);