aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/yaffs2/files/devextras.h.patch
blob: fd4f4f466524a6f4543705010b85b7b0c7e4681f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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>