ARM: pxa: Include linux/export.h in balloon3.c
Subsystems (3)
PATCH 1/1 ARM: pxa: Include linux/export.h in balloon3.c
Include linux/export.h to fix below build warning:
CC arch/arm/mach-pxa/balloon3.oarch/arm/mach-pxa/balloon3.c:85: warning: data definition has no type or storage class arch/arm/mach-pxa/balloon3.c:85: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' arch/arm/mach-pxa/balloon3.c:85: warning: parameter names (without types) in function declaration
--- arch/arm/mach-pxa/balloon3.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-pxa/balloon3.c +1 -0
@@ -13,6 +13,7 @@* published by the Free Software Foundation. */ +#include <linux/export.h> #include <linux/init.h> #include <linux/platform_device.h> #include <linux/interrupt.h>
Signature · 1 line
1.7.5.4
Quoted 20 lines · Axel Lin
Include
linux/export.hto fix below build warning:?CC ? ? ?arch/arm/mach-pxa/balloon3.o
arch/arm/mach-pxa/balloon3.c:85: warning: data definition has no type or storage classarch/arm/mach-pxa/balloon3.c:85: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'arch/arm/mach-pxa/balloon3.c:85: warning: parameter names (without types) in function declarationSigned-off-by Axel Lin <[email protected]>---
?arch/arm/mach-pxa/balloon3.c | ? ?1 +
?1 files changed, 1 insertions(+), 0 deletions(-)arch/arm/mach-pxa/balloon3.c +0
-0@@ -13,6 +13,7 @@?* ?published by the Free Software Foundation.
?*/
Quoted 8 lines
+#include <
linux/export.h>
?#include <linux/init.h>
?#include <linux/platform_device.h>
?#include <linux/interrupt.h>
--
1.7.5.4
Applied