blob: 73717ed9ea7912788cbe2c7f550eefd843d4aa97 [file] [log] [blame]
Jes Sorensen58383af2006-02-06 14:12:43 -08001#include <linux/mutex.h>
Tim Schmielau4e57b682005-10-30 15:03:48 -08002
Linus Torvalds1da177e2005-04-16 15:20:36 -07003typedef struct kobject *kobj_probe_t(dev_t, int *, void *);
4struct kobj_map;
5
6int kobj_map(struct kobj_map *, dev_t, unsigned long, struct module *,
7 kobj_probe_t *, int (*)(dev_t, void *), void *);
8void kobj_unmap(struct kobj_map *, dev_t, unsigned long);
9struct kobject *kobj_lookup(struct kobj_map *, dev_t, int *);
Jes Sorensen58383af2006-02-06 14:12:43 -080010struct kobj_map *kobj_map_init(kobj_probe_t *, struct mutex *);