Add missing gpio_handler_t definition.
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 30 Apr 2007 02:33:10 +0000 (02:33 +0000)
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 30 Apr 2007 02:33:10 +0000 (02:33 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2758 c046a42c-6fe2-441c-8c8c-71466251a162

vl.h

diff --git a/vl.h b/vl.h
index 49f5eff..bc3e6cf 100644 (file)
--- 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);