Skip to content

Commit

Permalink
kobj: add comment and multiple inclusion protection
Browse files Browse the repository at this point in the history
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information
Robert P. J. Day authored and Jiri Kosina committed Mar 15, 2010
1 parent 320cc51 commit 3e21ec2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions include/linux/kobj_map.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* 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 *);
Expand All @@ -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_ */

0 comments on commit 3e21ec2

Please sign in to comment.