From b1e412a24e0a32a1802c69a934843472ca221321 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Sun, 31 Aug 2003 04:29:49 -0700 Subject: [PATCH] [PATCH] Kobject doc addition From: Here's an _important_ kobject doc patch. --- Documentation/kobject.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/kobject.txt b/Documentation/kobject.txt index 7996712779533..176927dbef3fe 100644 --- a/Documentation/kobject.txt +++ b/Documentation/kobject.txt @@ -245,7 +245,9 @@ the object-specific fields, which include: 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 -- 2.53.0