From 4b03ca98410d3f930cbaf66279a4ea963486cbae Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Mon, 15 Apr 2013 14:18:54 +0200 Subject: [PATCH] backports: fix ifdef in compat-2.6.37.c That ifdef got misplaced, vzalloc() shouldn't be inside. Signed-off-by: Johannes Berg --- backport/compat/compat-2.6.37.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backport/compat/compat-2.6.37.c b/backport/compat/compat-2.6.37.c index dadc0acff95d..d0be836628d4 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 -- 2.30.2