kernel: fix jffs2 compilation with GCC_PLUGIN_RANDSTRUCT enabled
[openwrt/staging/pepe2k.git] / target / linux / generic / pending-5.10 / 530-jffs2_make_lzma_available.patch
index 1bccb30a69f69ff8e2e70a747b1f3b25d1079c8f..c794c6fe8f734b9efa8f8b18a17192339f1d9e8f 100644 (file)
@@ -351,7 +351,7 @@ Signed-off-by: Alexandros C. Couloumbis <alex@ozo.com>
 +              LZMA_FREE(address);
 +}
 +
-+static ISzAlloc lzma_alloc = {p_lzma_malloc, p_lzma_free};
++static ISzAlloc lzma_alloc = { .Alloc = p_lzma_malloc, .Free = p_lzma_free };
 +
 +#endif
 --- /dev/null