]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/kref.h
Merge branch 'x86-olpc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[karo-tx-linux.git] / include / linux / kref.h
index 6cc38fc07ab76c5a052d530eec2fd31ec4d25392..d4a62ab2ee5e1901eb2e6f9cfa197ecbd91b3035 100644 (file)
@@ -24,5 +24,7 @@ struct kref {
 void kref_init(struct kref *kref);
 void kref_get(struct kref *kref);
 int kref_put(struct kref *kref, void (*release) (struct kref *kref));
+int kref_sub(struct kref *kref, unsigned int count,
+            void (*release) (struct kref *kref));
 
 #endif /* _KREF_H_ */