backports: fix ifdef in compat-2.6.37.c
authorJohannes Berg <johannes.berg@intel.com>
Mon, 15 Apr 2013 12:18:54 +0000 (14:18 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 15 Apr 2013 12:18:54 +0000 (14:18 +0200)
That ifdef got misplaced, vzalloc() shouldn't be inside.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
backport/compat/compat-2.6.37.c

index dadc0acff95d30049079532ec0a43fcbf20b1d1a..d0be836628d4f28b3783806f0a465a43bfb2a54a 100644 (file)
@@ -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