Skip to contentSkip to conversation

ARM: OMAP: omap_device: Include linux/export.h

PATCH Superseded Axel Lin 2 participants 2 messages Nov 3, 2011

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 ARM: OMAP: omap_device: Include linux/export.h

Include linux/export.h to fix below build warning:

CC arch/arm/plat-omap/omap_device.o
arch/arm/plat-omap/omap_device.c:1055: warning: data definition has no type or storage class arch/arm/plat-omap/omap_device.c:1055: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/arm/plat-omap/omap_device.c:1055: warning: parameter names (without types) in function declaration

---
 arch/arm/plat-omap/omap_device.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/plat-omap/omap_device.c +1 -0
index cd90bed..f839f94 100644
@@ -78,6 +78,7 @@
 #undef DEBUG
 
 #include <linux/kernel.h>
+#include <linux/export.h>
 #include <linux/platform_device.h>
 #include <linux/slab.h>
 #include <linux/err.h>
Signature · 1 line
1.7.5.4
#1 lore raw

Hi,

Quoted 17 lines · Axel Lin

Include linux/export.h to fix below build warning:

CC arch/arm/plat-omap/omap_device.o
arch/arm/plat-omap/omap_device.c:1055: warning: data definition has no type or storage class arch/arm/plat-omap/omap_device.c:1055: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/arm/plat-omap/omap_device.c:1055: warning: parameter names (without types) in function declaration

---
 arch/arm/plat-omap/omap_device.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/plat-omap/omap_device.c +0 -0
index cd90bed..f839f94 100644

arch/arm/plat-omap/omap_device.c line 81

Quoted 4 lines
arch/arm/plat-omap/omap_device.c +1 -0
@@ -78,6 +78,7 @@
 #undef DEBUG
 
 #include <linux/kernel.h>
+#include <linux/export.h>

scripts/get_maintainer.pl would tell you to Cc [email protected] and [email protected]

Care to resend Ccing those lists too ?

Signature · 1 line
balbi