Linux设备驱动入门之hello驱动

1. 编写myhello.c #include <linux/init.h>   #include <linux/module.h>   MODULE_LICENSE("Dual BSD/GPL");     static int hello_init(void)   {      printk(KERN_ALERT "hello world\n");      return 0;   }    
相关文章
相关标签/搜索