generic: fix UBIFS build error if XZ compression is disabled
authorGabor Juhos <juhosg@openwrt.org>
Wed, 2 Jan 2013 08:53:07 +0000 (08:53 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 2 Jan 2013 08:53:07 +0000 (08:53 +0000)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34959

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 3c917c164c60c5d10682255d18cf2dfe04d4e8ea..3442d90db7dcaac9607a8c3cd06cb7c68cdf0f91 100644 (file)
@@ -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",
 +};
index e69c7f1d015decf9da8cecfe85b70c4484e76998..4e15a771a4f872d4ceb303c83a2221e452e30c09 100644 (file)
@@ -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",
 +};
index e069741861cdebb4bb17e3560991d95835499758..f85689c58663f62431ac970aade6a383a32a2d53 100644 (file)
@@ -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",
 +};