When using 'EXPORT_SYMBOL' to export a funtion, it reports warning like this:
warning: data definition has no type or storage class
warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
warning: parameter names (without types) in function declaration
Include module.h to solve it .
#include <linux/module.h>