Adding attributes Step 3: define the default attributes Remember the ktype structure: struct kobj_type { void (*release)(struct kobject *); struct sysfs_ops *sysfs_ops; struct attribute **default_attrs; }; Initialize the two pointers default_attrs must be NULL-terminated All kobjects of this type will have those attributes