linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: nommu: Include asm/procinfo.h to fix build warning
@ 2013-11-15  3:38 Axel Lin
  2013-11-15  7:14 ` Olof Johansson
  2013-11-15  9:01 ` Thierry Reding
  0 siblings, 2 replies; 4+ messages in thread
From: Axel Lin @ 2013-11-15  3:38 UTC (permalink / raw)
  To: linux-arm-kernel

Include asm/procinfo.h to fix below build warning:
  CC      arch/arm/mm/nommu.o
arch/arm/mm/nommu.c:303:17: warning: 'struct proc_info_list' declared inside parameter list [enabled by default]
arch/arm/mm/nommu.c:303:17: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 arch/arm/mm/nommu.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mm/nommu.c b/arch/arm/mm/nommu.c
index 5c668b7..55764a7 100644
--- a/arch/arm/mm/nommu.c
+++ b/arch/arm/mm/nommu.c
@@ -18,6 +18,7 @@
 #include <asm/mach/arch.h>
 #include <asm/cputype.h>
 #include <asm/mpu.h>
+#include <asm/procinfo.h>
 
 #include "mm.h"
 
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-11-15 11:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-15  3:38 [PATCH] ARM: nommu: Include asm/procinfo.h to fix build warning Axel Lin
2013-11-15  7:14 ` Olof Johansson
2013-11-15 11:36   ` Russell King - ARM Linux
2013-11-15  9:01 ` Thierry Reding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).