From 28e78d5df166c681900d6b427490d3406460fd3f Mon Sep 17 00:00:00 2001 From: juhosg 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 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') 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 3c917c164..3442d90db 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 e69c7f1d0..4e15a771a 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 e06974186..f85689c58 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