Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- fs/ubifs/ubifs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/ubifs/ubifs.c b/fs/ubifs/ubifs.c index e2f9593..44a9e97 100644 --- a/fs/ubifs/ubifs.c +++ b/fs/ubifs/ubifs.c @@ -49,11 +49,13 @@ struct z_stream_s ubifs_zlib_stream; /* compress.c */ +#ifdef CONFIG_ZLIB static int ubifs_deflate_decompress(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) { return deflate_decompress(&ubifs_zlib_stream, src, slen, dst, dlen); } +#endif /* All UBIFS compressors */ struct ubifs_compressor ubifs_compressors[UBIFS_COMPR_TYPES_CNT] = { -- 1.8.5.3 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox