generic: fix UBIFS build error if XZ compression is disabled
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 2 Jan 2013 08:53:07 +0000 (08:53 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 2 Jan 2013 08:53:07 +0000 (08:53 +0000)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34959 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/generic/patches-3.3/541-ubifs-xz-decompression-support.patch
target/linux/generic/patches-3.6/541-ubifs-xz-decompression-support.patch
target/linux/generic/patches-3.7/541-ubifs-xz-decompression-support.patch

index 3c917c1..3442d90 100644 (file)
@@ -44,7 +44,7 @@
 +      .capi_name = "xz",
 +};
 +#else
 +      .capi_name = "xz",
 +};
 +#else
-+static struct ubifs_compressor zlib_compr = {
++static struct ubifs_compressor xz_compr = {
 +      .compr_type = UBIFS_COMPR_XZ,
 +      .name = "xz",
 +};
 +      .compr_type = UBIFS_COMPR_XZ,
 +      .name = "xz",
 +};
index e69c7f1..4e15a77 100644 (file)
@@ -42,7 +42,7 @@
 +      .capi_name = "xz",
 +};
 +#else
 +      .capi_name = "xz",
 +};
 +#else
-+static struct ubifs_compressor zlib_compr = {
++static struct ubifs_compressor xz_compr = {
 +      .compr_type = UBIFS_COMPR_XZ,
 +      .name = "xz",
 +};
 +      .compr_type = UBIFS_COMPR_XZ,
 +      .name = "xz",
 +};
index e069741..f85689c 100644 (file)
@@ -42,7 +42,7 @@
 +      .capi_name = "xz",
 +};
 +#else
 +      .capi_name = "xz",
 +};
 +#else
-+static struct ubifs_compressor zlib_compr = {
++static struct ubifs_compressor xz_compr = {
 +      .compr_type = UBIFS_COMPR_XZ,
 +      .name = "xz",
 +};
 +      .compr_type = UBIFS_COMPR_XZ,
 +      .name = "xz",
 +};