Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75731
b: refs/heads/master
c: 12d03da
h: refs/heads/master
i:
  75729: 2d6ec2b
  75727: a2c308e
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Jan 25, 2008
1 parent 83ba49c commit 96969ab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3514faca19a6fdc209734431c509631ea92b094e
refs/heads/master: 12d03da7c19366268bdbc9fb0cd08d719c0cc283
18 changes: 0 additions & 18 deletions trunk/include/linux/kobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -202,24 +202,6 @@ extern struct kset kernel_subsys;
/* The global /sys/hypervisor/ subsystem */
extern struct kset hypervisor_subsys;

/*
* Helpers for setting the kset of registered objects.
* Often, a registered object belongs to a kset embedded in a
* subsystem. These do no magic, just make the resulting code
* easier to follow.
*/

/**
* kobj_set_kset_s(obj,subsys) - set kset for embedded kobject.
* @obj: ptr to some object type.
* @subsys: a subsystem object (not a ptr).
*
* Can be used for any object type with an embedded ->kobj.
*/

#define kobj_set_kset_s(obj,subsys) \
(obj)->kobj.kset = &(subsys)

extern int __must_check subsystem_register(struct kset *);
extern void subsystem_unregister(struct kset *);

Expand Down

0 comments on commit 96969ab

Please sign in to comment.