projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fad4d16
)
backports: fix ifdef in compat-2.6.37.c
author
Johannes Berg
<johannes.berg@intel.com>
Mon, 15 Apr 2013 12:18:54 +0000
(14:18 +0200)
committer
Johannes 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
patch
|
blob
|
history
diff --git
a/backport/compat/compat-2.6.37.c
b/backport/compat/compat-2.6.37.c
index dadc0acff95d30049079532ec0a43fcbf20b1d1a..d0be836628d4f28b3783806f0a465a43bfb2a54a 100644
(file)
--- 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