kobject initialization Step 1: Zero the whole thing Use memcpy() Step 2: Explicit initialization Call void kobject_init(struct kobject *); Step 3: Give it a name int kobject_set_name(kobj, char *format, ...); This operation can fail! Becomes the sysfs entry name (If this kobject shows up in sysfs)