设备号的获取与字符设备的注册
摘要:
int major; static struct class *buttons_class;struct cdev *buttons_cdev;// = cdev_alloc();//buttons_cdev->ops = &buttons_fops; dev_t buttons_dev; stat 阅读全文
posted @ 2016-11-28 16:10 asulove 阅读(352) 评论(0) 推荐(0) 编辑