projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ca15c4
)
zcache: Fix build error when sysfs is not defined
author
Nitin Gupta
<ngupta@vflare.org>
Thu, 4 Aug 2011 22:05:24 +0000
(15:05 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 8 Aug 2011 19:05:35 +0000
(12:05 -0700)
Signed-off-by: Nitin Gupta <ngupta@vflare.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/zcache/zcache-main.c
patch
|
blob
|
history
diff --git
a/drivers/staging/zcache/zcache-main.c
b/drivers/staging/zcache/zcache-main.c
index 2c41c4465e14c5c73127963145448344590974d5..855a5bb56a47d8e591873b05e6be15ec6f4f6ee0 100644
(file)
--- a/
drivers/staging/zcache/zcache-main.c
+++ b/
drivers/staging/zcache/zcache-main.c
@@
-1936,9
+1936,9
@@
__setup("nofrontswap", no_frontswap);
static int __init zcache_init(void)
{
-#ifdef CONFIG_SYSFS
int ret = 0;
+#ifdef CONFIG_SYSFS
ret = sysfs_create_group(mm_kobj, &zcache_attr_group);
if (ret) {
pr_err("zcache: can't create sysfs\n");