projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
320cc51
)
kobj: add comment and multiple inclusion protection
author
Robert P. J. Day
<rpjday@crashcourse.ca>
Thu, 11 Mar 2010 11:32:44 +0000
(06:32 -0500)
committer
Jiri Kosina
<jkosina@suse.cz>
Mon, 15 Mar 2010 14:29:39 +0000
(15:29 +0100)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
include/linux/kobj_map.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/kobj_map.h
b/include/linux/kobj_map.h
index 73717ed9ea7912788cbe2c7f550eefd843d4aa97..18ca75ffcc5a159b81be6bc153bd9d5e01ae4adc 100644
(file)
--- a/
include/linux/kobj_map.h
+++ b/
include/linux/kobj_map.h
@@
-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 *);
@@
-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_ */