]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Hexagon: misc compile warning/error cleanup due to missing headers
authorRichard Kuo <rkuo@codeaurora.org>
Tue, 15 Nov 2011 22:58:11 +0000 (16:58 -0600)
committerRichard Kuo <rkuo@codeaurora.org>
Fri, 13 Apr 2012 17:29:36 +0000 (12:29 -0500)
Fixed warnings/errors for EXPORT_SYMBOL, linux_binprm, elf related
defines

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
arch/hexagon/kernel/dma.c
arch/hexagon/kernel/ptrace.c
arch/hexagon/kernel/time.c
arch/hexagon/kernel/vdso.c

index e8d52cc4ba7a44118a2114d9ac686dac3ae05f79..2b48751aa5f75848c0e4d7674c412a479390ac5a 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/bootmem.h>
 #include <linux/genalloc.h>
 #include <asm/dma-mapping.h>
+#include <linux/module.h>
 
 struct dma_map_ops *dma_ops;
 EXPORT_SYMBOL(dma_ops);
index 32342de1a79c7ae6951fe819c56de0d53a3b999d..96c3b2c4dbaded2a24bb0c62a13a5f669637c90d 100644 (file)
@@ -28,6 +28,7 @@
 #include <linux/ptrace.h>
 #include <linux/regset.h>
 #include <linux/user.h>
+#include <linux/elf.h>
 
 #include <asm/user.h>
 
index ea9e34fa0ebd171c48543ced4bc1850b085ad514..36ba641857112e1382579d16bd8badf1942115ae 100644 (file)
@@ -28,6 +28,7 @@
 #include <linux/of.h>
 #include <linux/of_address.h>
 #include <linux/of_irq.h>
+#include <linux/module.h>
 
 #include <asm/timer-regs.h>
 #include <asm/hexagon_vm.h>
index f212a453b527d09accbd09c16dbfa5ae506745e1..5d39f42f7085bb1fec3c44a101dceb3615c0cc2d 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/err.h>
 #include <linux/mm.h>
 #include <linux/vmalloc.h>
+#include <linux/binfmts.h>
 
 #include <asm/vdso.h>