From 353ed2ea800ef7fc148a1637f86d6bb2d3ff7694 Mon Sep 17 00:00:00 2001
From: Gabor Juhos <juhosg@openwrt.org>
Date: Wed, 2 Jan 2013 08:53:07 +0000
Subject: generic: fix UBIFS build error if XZ compression is disabled

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34959 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 .../linux/generic/patches-3.3/541-ubifs-xz-decompression-support.patch  | 2 +-
 .../linux/generic/patches-3.6/541-ubifs-xz-decompression-support.patch  | 2 +-
 .../linux/generic/patches-3.7/541-ubifs-xz-decompression-support.patch  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

(limited to 'target/linux')

diff --git a/target/linux/generic/patches-3.3/541-ubifs-xz-decompression-support.patch b/target/linux/generic/patches-3.3/541-ubifs-xz-decompression-support.patch
index 3c917c164c..3442d90db7 100644
--- a/target/linux/generic/patches-3.3/541-ubifs-xz-decompression-support.patch
+++ b/target/linux/generic/patches-3.3/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",
 +};
diff --git a/target/linux/generic/patches-3.6/541-ubifs-xz-decompression-support.patch b/target/linux/generic/patches-3.6/541-ubifs-xz-decompression-support.patch
index e69c7f1d01..4e15a771a4 100644
--- a/target/linux/generic/patches-3.6/541-ubifs-xz-decompression-support.patch
+++ b/target/linux/generic/patches-3.6/541-ubifs-xz-decompression-support.patch
@@ -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",
 +};
diff --git a/target/linux/generic/patches-3.7/541-ubifs-xz-decompression-support.patch b/target/linux/generic/patches-3.7/541-ubifs-xz-decompression-support.patch
index e069741861..f85689c586 100644
--- a/target/linux/generic/patches-3.7/541-ubifs-xz-decompression-support.patch
+++ b/target/linux/generic/patches-3.7/541-ubifs-xz-decompression-support.patch
@@ -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",
 +};
-- 
cgit v1.2.3