Linux字符设备-自动创建设备号和设备节点 } /**描述结构初始化*/ cdev_init(&cdev,&my_cdev_fops);class_destroy(cdev_class);cdev_del(&cdev);printk("my_cdev_exit sucess! LinuxINFO 2016-02-22 21:36:37