iTop-4412学习的第一个驱动
学习过程中了解了make menuconfig配置 makefile的编写 及一些常见的问题
WARING: Symbol version dump xxxx/Module.symvers is missing ; modules will hava no dependencies and mdversions;
WARNING: 这个问题只需要 在内核里添加一个名字为Module.symvers的空文件夹即可解决警告问题。
编译内核模块时遇到这样一个报错,
error: expected declaration specifiers or ‘…’ before string constant
只需要包含头文件<linux/module.h>