From: Seth Jennings Date: Mon, 5 Mar 2012 16:46:38 +0000 (-0600) Subject: staging: zcache: make zcache builtin only X-Git-Tag: MMI-PSA29.97-13-9~17268^2~73 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bec25dfd850cf92cba894c94d6660fc18d3a7447;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 --- 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