kernel: fix jffs2 compilation with GCC_PLUGIN_RANDSTRUCT enabled
[openwrt/staging/jow.git] / target / linux / generic / pending-6.1 / 530-jffs2_make_lzma_available.patch
index f17216c52b9aea51f8fc51fe8d78b563a7050bec..27a673399a836f460b6e560b14ebce44ec8d1d4d 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