Merge commit '3ff195b011d7decf501a4d55aeed312731094796' into for-linus
[firefly-linux-kernel-4.4.55.git] / include / linux / kobj_map.h
index bafe178a381f19c98c7736370e5b31c5e8792ed2..18ca75ffcc5a159b81be6bc153bd9d5e01ae4adc 100644 (file)
@@ -1,4 +1,9 @@
-#ifdef __KERNEL__
+/*
+ * kobj_map.h
+ */
+
+#ifndef _KOBJ_MAP_H_
+#define _KOBJ_MAP_H_
 
 #include <linux/mutex.h>
 
@@ -11,4 +16,4 @@ 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
+#endif /* _KOBJ_MAP_H_ */