include/export.h needs to be included by arch/mips/lantiq/xway/dma.c. Without this include we see the following errors. arch/mips/lantiq/xway/dma.c:76:1: error: data definition has no type or storage class arch/mips/lantiq/xway/dma.c:76:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' arch/mips/lantiq/xway/dma.c:76:1: error: parameter names (without types) in function declaration arch/mips/lantiq/xway/dma.c:88:1: error: data definition has no type or storage class arch/mips/lantiq/xway/dma.c:88:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' arch/mips/lantiq/xway/dma.c:88:1: error: parameter names (without types) in function declaration arch/mips/lantiq/xway/dma.c:100:1: error: data definition has no type or storage class arch/mips/lantiq/xway/dma.c:100:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' arch/mips/lantiq/xway/dma.c:100:1: error: parameter names (without types) in function declaration arch/mips/lantiq/xway/dma.c:113:1: error: data definition has no type or storage class arch/mips/lantiq/xway/dma.c:113:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' arch/mips/lantiq/xway/dma.c:113:1: error: parameter names (without types) in function declaration arch/mips/lantiq/xway/dma.c:126:1: error: data definition has no type or storage class arch/mips/lantiq/xway/dma.c:126:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' arch/mips/lantiq/xway/dma.c:126:1: error: parameter names (without types) in function declaration arch/mips/lantiq/xway/dma.c:164:1: error: data definition has no type or storage class arch/mips/lantiq/xway/dma.c:164:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' arch/mips/lantiq/xway/dma.c:164:1: error: parameter names (without types) in function declaration arch/mips/lantiq/xway/dma.c:179:1: error: data definition has no type or storage class arch/mips/lantiq/xway/dma.c:179:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' arch/mips/lantiq/xway/dma.c:179:1: error: parameter names (without types) in function declaration arch/mips/lantiq/xway/dma.c:190:1: error: data definition has no type or storage class arch/mips/lantiq/xway/dma.c:190:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' arch/mips/lantiq/xway/dma.c:190:1: error: parameter names (without types) in function declaration arch/mips/lantiq/xway/dma.c:215:1: error: data definition has no type or storage class arch/mips/lantiq/xway/dma.c:215:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' arch/mips/lantiq/xway/dma.c:215:1: error: parameter names (without types) in function declaration Signed-off-by: John Crispin <blogic@xxxxxxxxxxx> Cc: linux-mips@xxxxxxxxxxxxxx --- arch/mips/lantiq/xway/dma.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/mips/lantiq/xway/dma.c b/arch/mips/lantiq/xway/dma.c index 4278a45..cbb6ae5 100644 --- a/arch/mips/lantiq/xway/dma.c +++ b/arch/mips/lantiq/xway/dma.c @@ -19,6 +19,7 @@ #include <linux/platform_device.h> #include <linux/io.h> #include <linux/dma-mapping.h> +#include <linux/export.h> #include <lantiq_soc.h> #include <xway_dma.h> -- 1.7.5.4