Commit 3e21ec22 authored by Robert P. J. Day's avatar Robert P. J. Day Committed by Jiri Kosina

kobj: add comment and multiple inclusion protection

Signed-off-by: default avatarRobert P. J. Day <>
Signed-off-by: default avatarJiri Kosina <>
parent 320cc51d
* kobj_map.h
#ifndef _KOBJ_MAP_H_
#define _KOBJ_MAP_H_
#include <linux/mutex.h>
typedef struct kobject *kobj_probe_t(dev_t, int *, void *);
......@@ -8,3 +15,5 @@ int kobj_map(struct kobj_map *, dev_t, unsigned long, struct module *,
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 *);
#endif /* _KOBJ_MAP_H_ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment