diff --git a/fs/erofs/decompressor_crypto.c b/fs/erofs/decompressor_crypto.c index 5ef6f71d3b7f..77c6bd535df3 100644 --- a/fs/erofs/decompressor_crypto.c +++ b/fs/erofs/decompressor_crypto.c @@ -62,7 +62,7 @@ struct z_erofs_crypto_engine { struct crypto_acomp *tfm; }; -struct z_erofs_crypto_engine *z_erofs_crypto[Z_EROFS_COMPRESSION_MAX] = { +static struct z_erofs_crypto_engine *z_erofs_crypto[Z_EROFS_COMPRESSION_MAX] = { [Z_EROFS_COMPRESSION_LZ4] = (struct z_erofs_crypto_engine[]) { {}, },