diff options
author | Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com> | 2011-08-02 14:20:26 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-08-02 16:06:18 -0700 |
commit | bf0c0259c79b325fd4ea139f363366d319786ea2 (patch) | |
tree | 81e435e4332cbf65d21953b0179c0af42a6b7885 | |
parent | c027a474a68065391c8773f6e83ed5412657e369 (diff) | |
download | linux-3.10-bf0c0259c79b325fd4ea139f363366d319786ea2.tar.gz linux-3.10-bf0c0259c79b325fd4ea139f363366d319786ea2.tar.bz2 linux-3.10-bf0c0259c79b325fd4ea139f363366d319786ea2.zip |
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 <cascardo@holoscopio.com>
Acked-by: Dan Magenheimer <dan.magenheimer@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/zcache/Makefile | 2 | ||||
-rw-r--r-- | drivers/staging/zcache/zcache-main.c (renamed from drivers/staging/zcache/zcache.c) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/zcache/Makefile b/drivers/staging/zcache/Makefile index f5ec64f9447..60daa272c20 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 index 65a81a0d7c4..65a81a0d7c4 100644 --- a/drivers/staging/zcache/zcache.c +++ b/drivers/staging/zcache/zcache-main.c |