summaryrefslogtreecommitdiff
path: root/include/linux/input.h
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@osdl.org>2003-01-05 23:56:06 -0600
committerPatrick Mochel <mochel@osdl.org>2003-01-05 23:56:06 -0600
commit85e865ecdb545bdd8b650540563528c1d3f6e9af (patch)
treeee72feaa12b6296c7587c08f013f6fe4fd4f3d53 /include/linux/input.h
parent3e815107666d4ee5089661a7125af302797b3e08 (diff)
kobjects: Remove kobject::subsys and subsystem::kobj.
The kobject core no longer references a subsystem directly through a kobject, instead using the kobject's dominant kset to reference the subsystem. The registrants of kobjects have been fixed up. To aid in this process, a few helpers were introdcuced: - kobj_set_kset_s(obj,subsys) - kset_set_kset_s(obj,subsys) - subsys_set_kset(obj,subsys) that set the kset ptr of embedded kobjects for objects that have different embedded types. See include/linux/kobject.h for more description and usage. struct subsystem::kobj is also removed, relying solely on a subsystem's embedded kset for hierarchy information. Since this requires modification of the subsystem declarations, a helper macro has been defined: decl_subsys(name,type) which initializes the name and ktype fields of the subsystem's embedded kset. All the subsystem declarations have been fixed up.
Diffstat (limited to 'include/linux/input.h')
0 files changed, 0 insertions, 0 deletions