* [PATCH] iommu: omap: fix compile failure
@ 2011-11-08 10:29 tom.leiming
2011-11-08 16:24 ` Joerg Roedel
0 siblings, 1 reply; 2+ messages in thread
From: tom.leiming @ 2011-11-08 10:29 UTC (permalink / raw)
To: tony, joerg.roedel; +Cc: linux-omap, linux-kernel, Ming Lei
From: Ming Lei <tom.leiming@gmail.com>
Fix the failure below:
CC drivers/iommu/omap-iommu-debug.o
drivers/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 prototype
drivers/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 prototype
drivers/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 class
drivers/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 class
drivers/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 class
drivers/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 class
drivers/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 class
drivers/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 class
drivers/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 class
drivers/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
prototype
drivers/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 class
drivers/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
prototype
drivers/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 class
drivers/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....
Signed-off-by: Ming Lei <tom.leiming@gmail.com>
---
drivers/iommu/omap-iommu-debug.c | 1 +
drivers/iommu/omap-iovmm.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/iommu/omap-iommu-debug.c b/drivers/iommu/omap-iommu-debug.c
index 9c192e7..288da5c 100644
--- a/drivers/iommu/omap-iommu-debug.c
+++ b/drivers/iommu/omap-iommu-debug.c
@@ -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>
diff --git a/drivers/iommu/omap-iovmm.c b/drivers/iommu/omap-iovmm.c
index e8fdb88..46be456 100644
--- a/drivers/iommu/omap-iovmm.c
+++ b/drivers/iommu/omap-iovmm.c
@@ -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>
--
1.7.5.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] iommu: omap: fix compile failure
2011-11-08 10:29 [PATCH] iommu: omap: fix compile failure tom.leiming
@ 2011-11-08 16:24 ` Joerg Roedel
0 siblings, 0 replies; 2+ messages in thread
From: Joerg Roedel @ 2011-11-08 16:24 UTC (permalink / raw)
To: tom.leiming; +Cc: tony, linux-omap, linux-kernel
On Tue, Nov 08, 2011 at 06:29:15PM +0800, tom.leiming@gmail.com wrote:
> From: Ming Lei <tom.leiming@gmail.com>
>
> Fix the failure below:
Applied with a shorter commit-msg. Thanks.
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-08 16:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-08 10:29 [PATCH] iommu: omap: fix compile failure tom.leiming
2011-11-08 16:24 ` Joerg Roedel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox