Skip to content

Commit

Permalink
unicore32: EXPORT_SYMBOL needs export.h
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Paul Gortmaker <[email protected]>
  • Loading branch information
AxelLin authored and Paul Gortmaker committed Oct 31, 2011
1 parent 66421a6 commit 5270f31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/unicore32/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 5270f31

Please sign in to comment.