diff options
Diffstat (limited to 'include/linux/kobject.h')
-rw-r--r-- | include/linux/kobject.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h index 626bdd3c3dd9..0713799fde29 100644 --- a/include/linux/kobject.h +++ b/include/linux/kobject.h | |||
@@ -241,19 +241,6 @@ extern struct kset hypervisor_subsys; | |||
241 | #define kset_set_kset_s(obj,subsys) \ | 241 | #define kset_set_kset_s(obj,subsys) \ |
242 | (obj)->kset.kobj.kset = &(subsys) | 242 | (obj)->kset.kobj.kset = &(subsys) |
243 | 243 | ||
244 | /** | ||
245 | * subsys_set_kset(obj,subsys) - set kset for subsystem | ||
246 | * @obj: ptr to some object type. | ||
247 | * @_subsys: a subsystem object (not a ptr). | ||
248 | * | ||
249 | * Can be used for any object type with an embedded ->subsys. | ||
250 | * Sets the kset of @obj's kobject to @subsys.kset. This makes | ||
251 | * the object a member of that kset. | ||
252 | */ | ||
253 | |||
254 | #define subsys_set_kset(obj,_subsys) \ | ||
255 | (obj)->subsys.kobj.kset = &(_subsys) | ||
256 | |||
257 | extern void subsystem_init(struct kset *); | 244 | extern void subsystem_init(struct kset *); |
258 | extern int __must_check subsystem_register(struct kset *); | 245 | extern int __must_check subsystem_register(struct kset *); |
259 | extern void subsystem_unregister(struct kset *); | 246 | extern void subsystem_unregister(struct kset *); |