[lkml]   [2011]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH] unicore32: EXPORT_SYMBOL needs export.h
    Include export.h to fix below warning:

    CC arch/unicore32/mm/init.o
    arch/unicore32/mm/init.c:227: warning: data definition has no type or storage class
    arch/unicore32/mm/init.c:227: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
    arch/unicore32/mm/init.c:227: warning: parameter names (without types) in function declaration

    Signed-off-by: Axel Lin <>
    This patch is against linux-next 20111014.
    export.h only exist in Paul's tree now.
    I think this patch should route via Paul's module.h splitup tree.

    arch/unicore32/mm/init.c | 1 +
    1 files changed, 1 insertions(+), 0 deletions(-)

    diff --git a/arch/unicore32/mm/init.c b/arch/unicore32/mm/init.c
    index 2d3e711..3b379cd 100644
    --- a/arch/unicore32/mm/init.c
    +++ b/arch/unicore32/mm/init.c
    @@ -20,6 +20,7 @@
    #include <linux/memblock.h>
    #include <linux/sort.h>
    #include <linux/dma-mapping.h>
    +#include <linux/export.h>

    #include <asm/sections.h>
    #include <asm/setup.h>

     \ /
      Last update: 2011-10-18 10:55    [W:0.040 / U:178.940 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site