ARM: OMAP: omap_device: Include linux/export.h
Subsystems (2)
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.oarch/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
@@ -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
Hi,
Quoted 17 lines · Axel Lin
Include
linux/export.hto fix below build warning:CC
arch/arm/plat-omap/omap_device.oarch/arm/plat-omap/omap_device.c:1055: warning: data definition has no type or storage classarch/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 declarationSigned-off-by Axel Lin <[email protected]>--- arch/arm/plat-omap/omap_device.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)arch/arm/plat-omap/omap_device.c +0
-0
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