摘要: struct cdev *cdev_alloc(void) { struct cdev *p = kzalloc(sizeof(struct cdev), GFP_KERNEL); if (p) { INIT_LIST_HEAD(&p->list); kobject_init(&p->kobj, & 阅读全文
posted @ 2020-05-04 23:37 一匹夫 阅读(311) 评论(0) 推荐(1) 编辑