summaryrefslogtreecommitdiff
path: root/recipes/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/compile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/compile.patch')
-rw-r--r--recipes/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/compile.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/compile.patch b/recipes/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/compile.patch
new file mode 100644
index 0000000000..1a19b85daa
--- /dev/null
+++ b/recipes/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/compile.patch
@@ -0,0 +1,14 @@
+--- linux/include/linux/jffs2_fs_i.h.old 2003-02-01 00:24:48.000000000 -0600
++++ linux/include/linux/jffs2_fs_i.h 2003-02-01 00:25:14.000000000 -0600
+@@ -48,9 +48,11 @@
+ uint32_t nr_frags;
+ #endif
+
++#ifdef KERNEL_VERSION
+ #if LINUX_VERSION_CODE > KERNEL_VERSION(2,5,2)
+ struct inode vfs_inode;
+ #endif
++#endif
+ };
+
+ #endif /* _JFFS2_FS_I */