From bec25dfd850cf92cba894c94d6660fc18d3a7447 Mon Sep 17 00:00:00 2001 From: Seth Jennings Date: Mon, 5 Mar 2012 10:46:38 -0600 Subject: [PATCH] staging: zcache: make zcache builtin only zcache cannot currently be loaded as a module. However the Kconfig allows it to be built as a module; something that the user probably does not intend since the module is not loadable. This patch switches zcache from a tristate to a bool in the Kconfig Signed-off-by: Seth Jennings Acked-by: Dan Magenheimer Signed-off-by: Greg Kroah-Hartman --- drivers/staging/zcache/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/zcache/Kconfig b/drivers/staging/zcache/Kconfig index 5a36fcfd87c0..3ed2c8f656a5 100644 --- a/drivers/staging/zcache/Kconfig +++ b/drivers/staging/zcache/Kconfig @@ -1,5 +1,5 @@ config ZCACHE - tristate "Dynamic compression of swap pages and clean pagecache pages" + bool "Dynamic compression of swap pages and clean pagecache pages" # X86 dependency is because zsmalloc uses non-portable pte/tlb # functions depends on (CLEANCACHE || FRONTSWAP) && CRYPTO && X86 -- 2.20.1