staging: fix zcache building
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Tue, 2 Aug 2011 17:20:26 +0000 (14:20 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Aug 2011 23:06:18 +0000 (16:06 -0700)
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 <cascardo@holoscopio.com>
Acked-by: Dan Magenheimer <dan.magenheimer@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/zcache/Makefile
drivers/staging/zcache/zcache-main.c [moved from drivers/staging/zcache/zcache.c with 100% similarity]

index f5ec64f..60daa27 100644 (file)
@@ -1,3 +1,3 @@
-zcache-y       :=      tmem.o
+zcache-y       :=      zcache-main.o tmem.o
 
 obj-$(CONFIG_ZCACHE)   +=      zcache.o