首页
科技
登录
6mi
u
盘
搜
搜 索
科技
设备树的兼容性判断
设备树的兼容性判断
it
2022-05-09
21
当一个驱动可同时执行多个设备的时候,有两种方法可以判断是具体哪一种设备
1、of_device_is_compatible() 2、可以在驱动的of_device_id表中填充data成员方式。
转载于:https://www.cnblogs.com/liushuhe1990/p/9665473.html
转载请注明原文地址: https://win8.8miu.com/read-1480497.html
专利
最新回复
(
0
)