mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
staging: zcache: mark zbud_init/zcache_comp_init as __init
These functions are called only when system is initializing, so mark __init for them to free memory Acked-by: Seth Jennings <sjenning@linux.vnet.ibm.com> Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f64d94f9f7
commit
2ad0f81c58
1 changed files with 2 additions and 2 deletions
|
|
@ -600,7 +600,7 @@ out:
|
|||
return;
|
||||
}
|
||||
|
||||
static void zbud_init(void)
|
||||
static void __init zbud_init(void)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
|
@ -1985,7 +1985,7 @@ static int __init enable_zcache_compressor(char *s)
|
|||
__setup("zcache=", enable_zcache_compressor);
|
||||
|
||||
|
||||
static int zcache_comp_init(void)
|
||||
static int __init zcache_comp_init(void)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue