Linux Kernel设备驱动模型之 struct driver_private

来源:互联网 发布:淘宝店标志设计 编辑:程序博客网 时间:2024/06/10 01:57
驱动私有数据描述:
struct driver_private { struct kobject kobj; struct klist klist_devices; struct klist_node knode_bus; struct module_kobject *mkobj; struct device_driver *driver;};#define to_driver(obj) container_of(obj, struct driver_private, kobj)
 
 
 
0 0