X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Documentation%2Fkobject.txt;h=e44855513b3d4f044177d871a8af7b8383c3fa59;hb=refs%2Fheads%2Fvserver;hp=8d9bffbd192cad1f2f28f396be8a4ee9a4a0f9b7;hpb=76828883507a47dae78837ab5dec5a5b4513c667;p=linux-2.6.git diff --git a/Documentation/kobject.txt b/Documentation/kobject.txt index 8d9bffbd1..e44855513 100644 --- a/Documentation/kobject.txt +++ b/Documentation/kobject.txt @@ -51,7 +51,7 @@ more complex object types. It provides a set of basic fields that almost all complex data types share. kobjects are intended to be embedded in larger data structures and replace fields they duplicate. -1.2 Defintion +1.2 Definition struct kobject { char name[KOBJ_NAME_LEN]; @@ -247,7 +247,7 @@ the object-specific fields, which include: - default_attrs: Default attributes to be exported via sysfs when the 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 + in block/genhd.c Instances of struct kobj_type are not registered; only referenced by