摘要: component在多个模块相互关联并且存在一定的初始化顺序时非常有用。现分析下其工作原理,以便后续组织自己的驱动模块。 一、component_match分析 component_match在master和component匹配时用,它包含一个匹配函数指针和一个void 类型的数据指针,其结构体定 阅读全文
posted @ 2019-01-04 15:42 qzhang1535 阅读(1149) 评论(0) 推荐(0) 编辑