summaryrefslogtreecommitdiff
path: root/libdde_linux26/contrib/include/linux/kobj_map.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-02-19 05:56:38 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-02-19 05:56:38 +0100
commit19796a75ab8ba43b31e230ea169d5383c6392bfc (patch)
tree3041c5678e06133dd7fcbf2ebf34b6506334f677 /libdde_linux26/contrib/include/linux/kobj_map.h
parent6b2e5e0d91823c2a6ce5a5cb12ae3d00b82adae7 (diff)
parent8df772b3c665e663f6f9d2a70f9c691590bd3f91 (diff)
Merge branch 'dde' into upstream-merged
Diffstat (limited to 'libdde_linux26/contrib/include/linux/kobj_map.h')
-rw-r--r--libdde_linux26/contrib/include/linux/kobj_map.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libdde_linux26/contrib/include/linux/kobj_map.h b/libdde_linux26/contrib/include/linux/kobj_map.h
new file mode 100644
index 00000000..73717ed9
--- /dev/null
+++ b/libdde_linux26/contrib/include/linux/kobj_map.h
@@ -0,0 +1,10 @@
+#include <linux/mutex.h>
+
+typedef struct kobject *kobj_probe_t(dev_t, int *, void *);
+struct kobj_map;
+
+int kobj_map(struct kobj_map *, dev_t, unsigned long, struct module *,
+ kobj_probe_t *, int (*)(dev_t, void *), void *);
+void kobj_unmap(struct kobj_map *, dev_t, unsigned long);
+struct kobject *kobj_lookup(struct kobj_map *, dev_t, int *);
+struct kobj_map *kobj_map_init(kobj_probe_t *, struct mutex *);