summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-01-02 08:53:07 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-01-02 08:53:07 +0000
commit373b0b9ad125516ca8fed3f06e24acb983988fd4 (patch)
treecaa7286796d472c0bef6abf03fbbc192d987846f
parent7a25be66c389a5e9d9c05bc2578ea765d869da04 (diff)
downloadmtk-20170518-373b0b9ad125516ca8fed3f06e24acb983988fd4.zip
mtk-20170518-373b0b9ad125516ca8fed3f06e24acb983988fd4.tar.gz
mtk-20170518-373b0b9ad125516ca8fed3f06e24acb983988fd4.tar.bz2
generic: fix UBIFS build error if XZ compression is disabled
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34959
-rw-r--r--target/linux/generic/patches-3.3/541-ubifs-xz-decompression-support.patch2
-rw-r--r--target/linux/generic/patches-3.6/541-ubifs-xz-decompression-support.patch2
-rw-r--r--target/linux/generic/patches-3.7/541-ubifs-xz-decompression-support.patch2
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 3c917c1..3442d90 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 e69c7f1..4e15a77 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 e069741..f85689c 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",
+};