Posted Oct 7, 2003 14:46 UTC (Tue) by pflugstad
Parent article: The zen of kobjects
In this section:
Subsystems are often declared with a special macro:
decl_subsys(char *name, struct kobj_type *type,
struct kset_hotplug_ops *hotplug_ops);
This macro just creates a struct system (its name is the name given to the
macro with _subsys appended) with the internal kset initialized with the
given type and hotplug_ops.
Do you mean that this creates a "struct system", or "struct subsystem", defined just above it?
to post comments)