summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-04-15 14:18:54 +0200
committerJohannes Berg <johannes.berg@intel.com>2013-04-15 14:18:54 +0200
commit4b03ca98410d3f930cbaf66279a4ea963486cbae (patch)
tree01520af2179f5ad1e348c28146247f364beb324c
parentfad4d169fdd223c62eac162a09deebe582cf28c2 (diff)
backports: fix ifdef in compat-2.6.37.c
That ifdef got misplaced, vzalloc() shouldn't be inside. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r--backport/compat/compat-2.6.37.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/backport/compat/compat-2.6.37.c b/backport/compat/compat-2.6.37.c
index dadc0acf..d0be8366 100644
--- a/backport/compat/compat-2.6.37.c
+++ b/backport/compat/compat-2.6.37.c
@@ -336,6 +336,7 @@ void compat_led_classdev_unregister(struct led_classdev *led_cdev)
led_classdev_unregister(led_cdev);
}
EXPORT_SYMBOL_GPL(compat_led_classdev_unregister);
+#endif
/**
* vzalloc - allocate virtually contiguous memory with zero fill
@@ -356,5 +357,3 @@ void *vzalloc(unsigned long size)
return buf;
}
EXPORT_SYMBOL_GPL(vzalloc);
-
-#endif