]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/kref.h
kref: add kref_set()
[linux-2.6-omap-h63xx.git] / include / linux / kref.h
index 6fee3539893f6f93d5634ec099f5741e4d1ccb95..5d185635786e129a35c28f475fdbb879cf78558b 100644 (file)
@@ -24,6 +24,7 @@ struct kref {
        atomic_t refcount;
 };
 
+void kref_set(struct kref *kref, int num);
 void kref_init(struct kref *kref);
 void kref_get(struct kref *kref);
 int kref_put(struct kref *kref, void (*release) (struct kref *kref));