Skip to content

Commit

Permalink
ARM: mxs: mm: Fix sparse warning
Browse files Browse the repository at this point in the history
Include <mach/common.h> header to fix the following sparse warnings:

arch/arm/mach-mxs/mm.c:43:13: warning: symbol 'mx23_map_io' was not declared. Should it be static?
arch/arm/mach-mxs/mm.c:48:13: warning: symbol 'mx28_map_io' was not declared. Should it be static?

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
  • Loading branch information
Fabio Estevam authored and Shawn Guo committed Mar 4, 2013
1 parent f6c49da commit bb39cdc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/mach-mxs/mm.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

#include <mach/mx23.h>
#include <mach/mx28.h>
#include <mach/common.h>

/*
* Define the MX23 memory map.
Expand Down

0 comments on commit bb39cdc

Please sign in to comment.