]> git.karo-electronics.de Git - linux-beck.git/commit
arm/imx2x: removes a bunch of sparse-warnings
authorHolger Schurig <hs4233@mail.mn-solutions.de>
Mon, 26 Jan 2009 15:34:51 +0000 (16:34 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Fri, 13 Mar 2009 09:33:52 +0000 (10:33 +0100)
commit058b7a6f465bebd87c1f295afdd56cc6a33dffbd
treeb7060b4d4675d83cf086891d714a34e5e7af7472
parentedfcea80eb12b43680c4be0f2e31c8f5b1288edd
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>
arch/arm/mach-mx2/devices.c
arch/arm/mach-mx2/generic.c
arch/arm/mach-mx2/mx27ads.c
arch/arm/mach-mx2/pcm038.c
arch/arm/mach-mx2/serial.c
arch/arm/plat-mxc/devices.c
arch/arm/plat-mxc/include/mach/board-mx27ads.h
arch/arm/plat-mxc/include/mach/mx27.h
arch/arm/plat-mxc/time.c