generic: fix UBIFS build error if XZ compression is disabled
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34959
This commit is contained in:
parent
7a25be66c3
commit
373b0b9ad1
3 changed files with 3 additions and 3 deletions
|
@ -44,7 +44,7 @@
|
||||||
+ .capi_name = "xz",
|
+ .capi_name = "xz",
|
||||||
+};
|
+};
|
||||||
+#else
|
+#else
|
||||||
+static struct ubifs_compressor zlib_compr = {
|
+static struct ubifs_compressor xz_compr = {
|
||||||
+ .compr_type = UBIFS_COMPR_XZ,
|
+ .compr_type = UBIFS_COMPR_XZ,
|
||||||
+ .name = "xz",
|
+ .name = "xz",
|
||||||
+};
|
+};
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
+ .capi_name = "xz",
|
+ .capi_name = "xz",
|
||||||
+};
|
+};
|
||||||
+#else
|
+#else
|
||||||
+static struct ubifs_compressor zlib_compr = {
|
+static struct ubifs_compressor xz_compr = {
|
||||||
+ .compr_type = UBIFS_COMPR_XZ,
|
+ .compr_type = UBIFS_COMPR_XZ,
|
||||||
+ .name = "xz",
|
+ .name = "xz",
|
||||||
+};
|
+};
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
+ .capi_name = "xz",
|
+ .capi_name = "xz",
|
||||||
+};
|
+};
|
||||||
+#else
|
+#else
|
||||||
+static struct ubifs_compressor zlib_compr = {
|
+static struct ubifs_compressor xz_compr = {
|
||||||
+ .compr_type = UBIFS_COMPR_XZ,
|
+ .compr_type = UBIFS_COMPR_XZ,
|
||||||
+ .name = "xz",
|
+ .name = "xz",
|
||||||
+};
|
+};
|
||||||
|
|
Loading…
Reference in a new issue