device_create ( my_class, NULL, MKDEV(hello_major, 0), "hello" "%d", 0 );. 如果成功,它将会在/dev目录下产生/dev/hello0设备。
確定! 回上一頁