Linux内核模块编译 最简单的hello world
驱动源代码可用,只是MODULE_LICENCE行老报错,加上#也不行,就注释掉了后注:lincese拼错了,应该是MODULE_LICENSE//hello world driver for linux 2.6 #include <linux/kernel.h> #include <linux/init.h> #include <linux/module.h> //MODULE_LICENCE("GPL"); stat...