ARM: Fix nommu.c build warning

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Fri Nov 22 17:59:05 EST 2013


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=83651bb988b169deae16608262e996eb718c6ab4
Commit:     83651bb988b169deae16608262e996eb718c6ab4
Parent:     f47671e2d861a2093179cd64dda22016664b2015
Author:     Russell King <rmk+kernel at arm.linux.org.uk>
AuthorDate: Thu Nov 14 10:58:30 2013 +0000
Committer:  Russell King <rmk+kernel at arm.linux.org.uk>
CommitDate: Thu Nov 14 10:59:50 2013 +0000

    ARM: Fix nommu.c build warning
    
    The 0-day kernel build robot found this new warning:
    
    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]
    
    Fix it by including the appropriate header.
    
    Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
---
 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"
 



More information about the linux-mtd-cvs mailing list