[PATCH] [ARM] msm: compilation fix for arch/arm/mach-msm/vreg.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: JJ Ding <jj_ding@xxxxxxxxxx>

From: JJ Ding <dgdunix@xxxxxxxxx>

Include linux/export.h to fix the following when CONFIG_DEBUG_FS=y.

  CC      arch/arm/mach-msm/vreg.o
arch/arm/mach-msm/vreg.c:190: error: 'THIS_MODULE' undeclared here (not in a function)
make[2]: *** [arch/arm/mach-msm/vreg.o] Error 1
make[1]: *** [arch/arm/mach-msm] Error 2
make: *** [sub-make] Error 2

Signed-off-by: JJ Ding <dgdunix@xxxxxxxxx>
---
 arch/arm/mach-msm/vreg.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-msm/vreg.c b/arch/arm/mach-msm/vreg.c
index a9103bc..e87792b 100644
--- a/arch/arm/mach-msm/vreg.c
+++ b/arch/arm/mach-msm/vreg.c
@@ -20,6 +20,7 @@
 #include <linux/init.h>
 #include <linux/debugfs.h>
 #include <linux/string.h>
+#include <linux/export.h>
 #include <mach/vreg.h>
 
 #include "proc_comm.h"
-- 
1.7.8

--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux