2.cat /proc/devices 看看有没有相关LED驱动信息。
===============================
static const struct file_operations fops_led =
{
.owner = THIS_MODULE,
//.open = open_led,
.unlocked_ioctl = unlocked_ioctl_led,
}
都屏蔽了open函数,怎么打开?
欢迎分享,转载请注明来源:内存溢出
2.cat /proc/devices 看看有没有相关LED驱动信息。
===============================
static const struct file_operations fops_led =
{
.owner = THIS_MODULE,
//.open = open_led,
.unlocked_ioctl = unlocked_ioctl_led,
}
都屏蔽了open函数,怎么打开?
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)