summaryrefslogtreecommitdiff
path: root/include/linux/kobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/kobject.h')
-rw-r--r--include/linux/kobject.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index 24096a62..d82ef20f 100644
--- a/include/linux/kobject.h
+++ b/include/linux/kobject.h
@@ -127,4 +127,17 @@ static inline void kset_unregister(struct kset *kset)
#define kset_create_and_add(_name, _u, _parent) \
((struct kset *) kzalloc(sizeof(struct kset), GFP_KERNEL))
+enum kobject_action {
+ KOBJ_ADD,
+ KOBJ_REMOVE,
+ KOBJ_CHANGE,
+ KOBJ_MOVE,
+ KOBJ_ONLINE,
+ KOBJ_OFFLINE,
+ KOBJ_BIND,
+ KOBJ_UNBIND,
+};
+
+static inline void kobject_uevent_env(struct kobject *kobj, int flags, char **envp) {}
+
#endif /* _KOBJECT_H_ */