From: Here's an _important_ kobject doc patch. 25-akpm/Documentation/kobject.txt | 4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) diff -puN Documentation/kobject.txt~kobject-doc-addition Documentation/kobject.txt --- 25/Documentation/kobject.txt~kobject-doc-addition Mon Aug 25 12:29:02 2003 +++ 25-akpm/Documentation/kobject.txt Mon Aug 25 12:29:02 2003 @@ -245,7 +245,9 @@ the object-specific fields, which includ see the sysfs documentation for more information. - default_attrs: Default attributes to be exported via sysfs when the - object is registered. + object is registered.Note that the last attribute has to be + initialized to NULL ! You can find a complete implementation + in drivers/block/genhd.c Instances of struct kobj_type are not registered; only referenced by _