summaryrefslogtreecommitdiff
path: root/recipes/yaffs2/yaffs2-utils/devextras.h.patch
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-09-18 23:26:17 +0200
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-09-18 23:26:17 +0200
commitb2734fece148f97580c118aedb4abadf85e63894 (patch)
tree1cca050b4e0870c19d61747e5ab66f26d42c6878 /recipes/yaffs2/yaffs2-utils/devextras.h.patch
parentb1480c888442a50008fda224d7c9bb6ebd4fa476 (diff)
yaffs2-utils: renamed files dir to yaffs2-utils
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/yaffs2/yaffs2-utils/devextras.h.patch')
-rw-r--r--recipes/yaffs2/yaffs2-utils/devextras.h.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes/yaffs2/yaffs2-utils/devextras.h.patch b/recipes/yaffs2/yaffs2-utils/devextras.h.patch
new file mode 100644
index 0000000000..fd4f4f4665
--- /dev/null
+++ b/recipes/yaffs2/yaffs2-utils/devextras.h.patch
@@ -0,0 +1,22 @@
+Index: yaffs2/devextras.h
+===================================================================
+--- yaffs2.orig/devextras.h
++++ yaffs2/devextras.h
+@@ -170,6 +170,8 @@ static __inline__ int ylist_empty(struct
+ #define ATTR_MTIME 32
+ #define ATTR_CTIME 64
+
++#endif
++
+ struct iattr {
+ unsigned int ia_valid;
+ unsigned ia_mode;
+@@ -182,8 +184,6 @@ struct iattr {
+ unsigned int ia_attr_flags;
+ };
+
+-#endif
+-
+ #else
+
+ #include <linux/types.h>