[PATCH] ARM: nommu: Include asm/procinfo.h to fix build warning

Axel Lin axel.lin at ingics.com
Thu Nov 14 22:38:00 EST 2013


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 at 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






More information about the linux-arm-kernel mailing list