summaryrefslogtreecommitdiffstats
path: root/82802ab.h
diff options
context:
space:
mode:
Diffstat (limited to '82802ab.h')
-rw-r--r--82802ab.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/82802ab.h b/82802ab.h
index 3649704..61e7f10 100644
--- a/82802ab.h
+++ b/82802ab.h
@@ -1,6 +1,9 @@
+#ifndef __82802AB_H__
+#define __82802AB_H__ 1
+
extern int probe_82802ab (struct flashchip * flash);
extern int erase_82802ab (struct flashchip * flash);
-extern int write_82802ab (struct flashchip * flash, char * buf);
+extern int write_82802ab (struct flashchip * flash, unsigned char * buf);
extern __inline__ void toggle_ready_82802ab (volatile char * dst)
{
@@ -42,3 +45,4 @@ extern __inline__ void protect_82802ab (volatile char * bios)
usleep(200);
}
+#endif /* !__82802AB_H__ */
OpenPOWER on IntegriCloud