linux驅動開發5之字符設備驅動新接口

1.新接口與老接口 1)老接口:register_chrdev static inline int register_chrdev(unsigned int major, const char *name, const struct file_operations *fops) {     return __register_chrdev(major, 0, 256, name, fops); }
相關文章
相關標籤/搜索