struct class *dev_class; //class结构指针,用来保存即将要创建的设备结构名,用于自动在/dev下创建设备文件,再为每个设备调用device_create创建对应的设备
確定! 回上一頁