Explorar el Código

该分支是最基础的 probe设备树匹配注册方式+字符设备驱动

xuxinyi hace 1 año
padre
commit
73d74d6bd1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      驱动文件/2024-11-6/ledByMySelf.c

+ 1 - 1
驱动文件/2024-11-6/ledByMySelf.c

@@ -10,7 +10,7 @@ static int major_number = 0;  // 默认自动分配主设备号
 static struct cdev my_cdev;
 static struct class *my_class;
 
-
+// 测试提交
 // 打开字符设备
 static int gpio_led_open(struct inode *inode, struct file *file)
 {