Fix build error:

   fs/pstore/platform.o: In function `zbufsize_zstd':
>> platform.c:(.text+0x172): undefined reference to `ZSTD_compressBound'

Signed-off-by: Geliang Tang <geliangt...@gmail.com>
---
 fs/pstore/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/pstore/Kconfig b/fs/pstore/Kconfig
index 63cf4813559a..503086f7f7c1 100644
--- a/fs/pstore/Kconfig
+++ b/fs/pstore/Kconfig
@@ -51,7 +51,7 @@ config PSTORE_842_COMPRESS
          This option enables 842 compression algorithm support.
 
 config PSTORE_ZSTD_COMPRESS
-       tristate "zstd compression"
+       bool "zstd compression"
        depends on PSTORE
        select CRYPTO_ZSTD
        help
-- 
2.17.1

Reply via email to