cdev_init
摘要:
内核中每个字符设备都对应一个 cdev 结构的变量,下面是它的定义: linux-2.6.22/include/linux/cdev.h struct cdev { struct kobject kobj; // 每个 cdev 都是一个 kobject struct module *owner; // 指向实现驱动的模块 const struct... 阅读全文
posted @ 2016-03-26 20:20 androidstudio 阅读(676) 评论(0) 推荐(0) 编辑