struct class *class_create(struct module *owner, const char *name); owner: 還記得嗎? 就是THIS_MODULE 啊 name: 就放DRIVER_NAME 即可。
確定! 回上一頁