]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - fs/jffs2/jffs2_private.h
karo: fdt: fix panel-dpi support
[karo-tx-uboot.git] / fs / jffs2 / jffs2_private.h
index 3633deaaf83cc2b26e8e72c179e7a42dfa3ec192..06b6ca29194dd93cb0fcb3664fa674fb8711b213 100644 (file)
@@ -7,6 +7,7 @@
 struct b_node {
        u32 offset;
        struct b_node *next;
+       enum { CRC_UNKNOWN = 0, CRC_OK, CRC_BAD } datacrc;
 };
 
 struct b_list {
@@ -97,4 +98,8 @@ data_crc(struct jffs2_raw_inode *node)
        }
 }
 
+#if defined(CONFIG_SYS_JFFS2_SORT_FRAGMENTS)
+/* External merge sort. */
+int sort_list(struct b_list *list);
+#endif
 #endif /* jffs2_private.h */