aboutsummaryrefslogtreecommitdiff
path: root/include/mtd/mtd-user.h
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@gmail.com>2006-04-11 20:04:37 -0500
committerJosh Boyer <jwboyer@gmail.com>2006-04-11 20:04:37 -0500
commit75b15a491cb730f13dce05ae13194d054f90b74d (patch)
tree34e9a74240a95e5daee352c1b727313a0f6ddaaa /include/mtd/mtd-user.h
parent72212c137c574b564723327af751c4054c7cfca6 (diff)
Add include directory to new mtd-utils repo. This contains all the user space
include files needed for the utils Signed-off-by: Josh Boyer <jwboyer@gmail.com>
Diffstat (limited to 'include/mtd/mtd-user.h')
-rw-r--r--include/mtd/mtd-user.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/mtd/mtd-user.h b/include/mtd/mtd-user.h
new file mode 100644
index 0000000..1c13fc7
--- /dev/null
+++ b/include/mtd/mtd-user.h
@@ -0,0 +1,20 @@
+/*
+ * $Id: mtd-user.h,v 1.2 2004/05/05 14:44:57 dwmw2 Exp $
+ *
+ * MTD ABI header for use by user space only.
+ */
+
+#ifndef __MTD_USER_H__
+#define __MTD_USER_H__
+
+#include <stdint.h>
+
+/* This file is blessed for inclusion by userspace */
+#include <mtd/mtd-abi.h>
+
+typedef struct mtd_info_user mtd_info_t;
+typedef struct erase_info_user erase_info_t;
+typedef struct region_info_user region_info_t;
+typedef struct nand_oobinfo nand_oobinfo_t;
+
+#endif /* __MTD_USER_H__ */