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;   }    
相關文章
相關標籤/搜索