expected declaration specifiers or '...' before string constant编译告警

原因是内核模块使用

MODULE_DESCRIPTION("xxx");

MODULE_AUTHOR("xxx");
MODULE_LICENSE("GPL");

时没有包含module.h

#include

你可能感兴趣的:(linux)