aboutsummaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
Diffstat (limited to 'flash.h')
-rw-r--r--flash.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/flash.h b/flash.h
index 6f0d7c06..25624aaf 100644
--- a/flash.h
+++ b/flash.h
@@ -33,6 +33,8 @@
#undef max
#endif
+#define ERROR_PTR ((void*)-1)
+
typedef unsigned long chipaddr;
int register_shutdown(void (*function) (void *data), void *data);