From 373b0b9ad125516ca8fed3f06e24acb983988fd4 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Wed, 2 Jan 2013 08:53:07 +0000 Subject: [PATCH] generic: fix UBIFS build error if XZ compression is disabled Signed-off-by: Gabor Juhos SVN-Revision: 34959 --- .../patches-3.3/541-ubifs-xz-decompression-support.patch | 2 +- .../patches-3.6/541-ubifs-xz-decompression-support.patch | 2 +- .../patches-3.7/541-ubifs-xz-decompression-support.patch | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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", +}; -- 2.30.2