一,kobject_init_and_add 1,kobject_init_and_add实现 /*** kobject_init_and_add() - Initialize a kobject structure and add it to* the kobject hierarchy.* @kobj: pointer to the
在设备驱动模型中,我们用kobject表示设备的基类,而一些相同的设备构成集合,即kset: /*** struct kset - a set of kobjects of a specific type, belonging to a specific subsystem.** A kset defines a group of kobjects. They can be indivi