generic: fix UBIFS build error if XZ compression is disabled

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34959
master
Gabor Juhos 12 years ago
parent 7a25be66c3
commit 373b0b9ad1
  1. 2
      target/linux/generic/patches-3.3/541-ubifs-xz-decompression-support.patch
  2. 2
      target/linux/generic/patches-3.6/541-ubifs-xz-decompression-support.patch
  3. 2
      target/linux/generic/patches-3.7/541-ubifs-xz-decompression-support.patch

@ -44,7 +44,7 @@
+ .capi_name = "xz",
+};
+#else
+static struct ubifs_compressor zlib_compr = {
+static struct ubifs_compressor xz_compr = {
+ .compr_type = UBIFS_COMPR_XZ,
+ .name = "xz",
+};

@ -42,7 +42,7 @@
+ .capi_name = "xz",
+};
+#else
+static struct ubifs_compressor zlib_compr = {
+static struct ubifs_compressor xz_compr = {
+ .compr_type = UBIFS_COMPR_XZ,
+ .name = "xz",
+};

@ -42,7 +42,7 @@
+ .capi_name = "xz",
+};
+#else
+static struct ubifs_compressor zlib_compr = {
+static struct ubifs_compressor xz_compr = {
+ .compr_type = UBIFS_COMPR_XZ,
+ .name = "xz",
+};

Loading…
Cancel
Save