aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx2/mx27ads.c
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2009-01-26 10:34:51 -0500
committerSascha Hauer <s.hauer@pengutronix.de>2009-03-13 05:33:52 -0400
commit058b7a6f465bebd87c1f295afdd56cc6a33dffbd (patch)
treeb7060b4d4675d83cf086891d714a34e5e7af7472 /arch/arm/mach-mx2/mx27ads.c
parentedfcea80eb12b43680c4be0f2e31c8f5b1288edd (diff)
arm/imx2x: removes a bunch of sparse-warnings
Here are some of the warnings that get fixed by this: > 200 times: warning: cast adds address space to expression (<asn:2>) twelve times: warning: symbol 'xxx' was not declared. Should it be static two times: warning: symbol 'clock' shadows an earlier one five times: warning: incorrect type in initializer (different address spaces) Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx2/mx27ads.c')
-rw-r--r--arch/arm/mach-mx2/mx27ads.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-mx2/mx27ads.c b/arch/arm/mach-mx2/mx27ads.c
index 536bf64bc7c8..4548631eb3ae 100644
--- a/arch/arm/mach-mx2/mx27ads.c
+++ b/arch/arm/mach-mx2/mx27ads.c
@@ -266,7 +266,7 @@ static void __init mx27ads_timer_init(void)
266 mx27_clocks_init(fref); 266 mx27_clocks_init(fref);
267} 267}
268 268
269struct sys_timer mx27ads_timer = { 269static struct sys_timer mx27ads_timer = {
270 .init = mx27ads_timer_init, 270 .init = mx27ads_timer_init,
271}; 271};
272 272
@@ -279,7 +279,7 @@ static struct map_desc mx27ads_io_desc[] __initdata = {
279 }, 279 },
280}; 280};
281 281
282void __init mx27ads_map_io(void) 282static void __init mx27ads_map_io(void)
283{ 283{
284 mxc_map_io(); 284 mxc_map_io();
285 iotable_init(mx27ads_io_desc, ARRAY_SIZE(mx27ads_io_desc)); 285 iotable_init(mx27ads_io_desc, ARRAY_SIZE(mx27ads_io_desc));