class_register (&input_class); /*2.申请主设备号,注册操作方法,注册字符设备*/ register_chrdev(13, "input", &input_fops);
確定! 回上一頁