iommu: omap: fix compile failure
PATCH 1/1 iommu: omap: fix compile failure
From: Ming Lei <[email protected]>
Fix the failure below:
CC drivers/iommu/omap-iommu-debug.odrivers/iommu/omap-iommu-debug.c:416:20: error: expected declaration specifiers or '...' before string constant drivers/iommu/omap-iommu-debug.c:416:1: warning: data definition has no type or storage class drivers/iommu/omap-iommu-debug.c:416:1: warning: type defaults to 'int' in declaration of 'MODULE_DESCRIPTION' drivers/iommu/omap-iommu-debug.c:416:20: warning: function declaration isn't a prototypedrivers/iommu/omap-iommu-debug.c:417:15: error: expected declaration specifiers or '...' before string constant drivers/iommu/omap-iommu-debug.c:417:1: warning: data definition has no type or storage class drivers/iommu/omap-iommu-debug.c:417:1: warning: type defaults to 'int' in declaration of 'MODULE_AUTHOR' drivers/iommu/omap-iommu-debug.c:417:15: warning: function declaration isn't a prototypedrivers/iommu/omap-iommu-debug.c:418:16: error: expected declaration specifiers or '...' before string constant drivers/iommu/omap-iommu-debug.c:418:1: warning: data definition has no type or storage class drivers/iommu/omap-iommu-debug.c:418:1: warning: type defaults to 'int' in declaration of 'MODULE_LICENSE' drivers/iommu/omap-iommu-debug.c:418:16: warning: function declaration isn't a prototype
make[2]: *** [drivers/iommu/omap-iommu-debug.o] Error 1 make[2]: *** Waiting for unfinished jobs....
drivers/iommu/omap-iovmm.c:247:1: warning: data definition has no type or storage classdrivers/iommu/omap-iovmm.c:247:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' drivers/iommu/omap-iovmm.c:247:1: warning: parameter names (without types) in function declaration drivers/iommu/omap-iovmm.c:369:1: warning: data definition has no type or storage classdrivers/iommu/omap-iovmm.c:369:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' drivers/iommu/omap-iovmm.c:369:1: warning: parameter names (without types) in function declaration drivers/iommu/omap-iovmm.c:620:1: warning: data definition has no type or storage classdrivers/iommu/omap-iovmm.c:620:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' drivers/iommu/omap-iovmm.c:620:1: warning: parameter names (without types) in function declaration drivers/iommu/omap-iovmm.c:645:1: warning: data definition has no type or storage classdrivers/iommu/omap-iovmm.c:645:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' drivers/iommu/omap-iovmm.c:645:1: warning: parameter names (without types) in function declaration drivers/iommu/omap-iovmm.c:696:1: warning: data definition has no type or storage classdrivers/iommu/omap-iovmm.c:696:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' drivers/iommu/omap-iovmm.c:696:1: warning: parameter names (without types) in function declaration drivers/iommu/omap-iovmm.c:717:1: warning: data definition has no type or storage classdrivers/iommu/omap-iovmm.c:717:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' drivers/iommu/omap-iovmm.c:717:1: warning: parameter names (without types) in function declaration drivers/iommu/omap-iovmm.c:740:20: error: expected declaration specifiers or '...' before string constant drivers/iommu/omap-iovmm.c:740:1: warning: data definition has no type or storage classdrivers/iommu/omap-iovmm.c:740:1: warning: type defaults to 'int' in declaration of 'MODULE_DESCRIPTION' drivers/iommu/omap-iovmm.c:740:20: warning: function declaration isn't a prototypedrivers/iommu/omap-iovmm.c:741:15: error: expected declaration specifiers or '...' before string constant drivers/iommu/omap-iovmm.c:741:1: warning: data definition has no type or storage classdrivers/iommu/omap-iovmm.c:741:1: warning: type defaults to 'int' in declaration of 'MODULE_AUTHOR' drivers/iommu/omap-iovmm.c:741:15: warning: function declaration isn't a prototypedrivers/iommu/omap-iovmm.c:742:16: error: expected declaration specifiers or '...' before string constant drivers/iommu/omap-iovmm.c:742:1: warning: data definition has no type or storage classdrivers/iommu/omap-iovmm.c:742:1: warning: type defaults to 'int' in declaration of 'MODULE_LICENSE' drivers/iommu/omap-iovmm.c:742:16: warning: function declaration isn't a prototype
make[2]: *** [drivers/iommu/omap-iovmm.o] Error 1
make[1]: *** [drivers/iommu] Error 2
make[1]: *** Waiting for unfinished jobs....
--- drivers/iommu/omap-iommu-debug.c | 1 + drivers/iommu/omap-iovmm.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-)
drivers/iommu/omap-iommu-debug.c +1 -0
@@ -10,6 +10,7 @@* published by the Free Software Foundation. */ +#include <linux/module.h> #include <linux/err.h> #include <linux/clk.h> #include <linux/io.h>
drivers/iommu/omap-iovmm.c +1 -0
@@ -10,6 +10,7 @@* published by the Free Software Foundation. */ +#include <linux/module.h> #include <linux/err.h> #include <linux/slab.h> #include <linux/vmalloc.h>
Signature · 1 line
1.7.5.4
Quoted 3 lines · On Tue, Nov 08, 2011 at 06:29:15PM +0800, [email protected] wrote:
From: Ming Lei <[email protected]>
Fix the failure below:
Applied with a shorter commit-msg. Thanks.
Signature · 5 lines
AMD Operating System Research Center Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach General Managers: Alberto Bozzo, Andrew Bowd Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr. 43632