From: Thadeu Lima de Souza Cascardo Date: Tue, 2 Aug 2011 17:20:26 +0000 (-0300) Subject: staging: fix zcache building X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=bf0c0259c79b325fd4ea139f363366d319786ea2;p=linux-beck.git staging: fix zcache building zcache is only building tmem.c and not building zcache.c. To keep the module name, zcache.c must be renamed if symbols from tmem.c are to remain unexported. Signed-off-by: Thadeu Lima de Souza Cascardo Acked-by: Dan Magenheimer Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/zcache/Makefile b/drivers/staging/zcache/Makefile index f5ec64f94470..60daa272c204 100644 --- a/drivers/staging/zcache/Makefile +++ b/drivers/staging/zcache/Makefile @@ -1,3 +1,3 @@ -zcache-y := tmem.o +zcache-y := zcache-main.o tmem.o obj-$(CONFIG_ZCACHE) += zcache.o diff --git a/drivers/staging/zcache/zcache.c b/drivers/staging/zcache/zcache-main.c similarity index 100% rename from drivers/staging/zcache/zcache.c rename to drivers/staging/zcache/zcache-main.c