pstore: Make pstore_choose_compression() static

The pstore_choose_compression() function is not exported so make it
static to avoid the following sparse warning:

fs/pstore/platform.c:796:13: warning: symbol 'pstore_choose_compression' was not declared. Should it be static?

Signed-off-by: Ben Dooks <>
Fixes: cb095afd4476 ("pstore: Centralize init/exit routines")
Signed-off-by: Kees Cook <>
diff --git a/fs/pstore/platform.c b/fs/pstore/platform.c
index 3d70246..d896457 100644
--- a/fs/pstore/platform.c
+++ b/fs/pstore/platform.c
@@ -793,7 +793,7 @@
 			  jiffies + msecs_to_jiffies(pstore_update_ms));
-void __init pstore_choose_compression(void)
+static void __init pstore_choose_compression(void)
 	const struct pstore_zbackend *step;