aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/pcm970-baseboard.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-09-28 15:53:31 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2010-10-01 03:33:07 -0400
commit6c80ee51707ec9fcf137bc7b511d2853b772eae6 (patch)
tree4c6e6edd27f2a93fa8ed5a295fba122301952a5f /arch/arm/mach-imx/pcm970-baseboard.c
parent7ad211e35b41166ccf8448345726f324f26260f7 (diff)
ARM: imx: make all pin lists const and signed, move to .init where possible
Making the lists signed fixes sparse warnings like: arch/arm/mach-imx/mach-mx27_3ds.c:94:31: warning: incorrect type in argument 1 (different signedness) arch/arm/mach-imx/mach-mx27_3ds.c:94:31: expected int const *pin_list arch/arm/mach-imx/mach-mx27_3ds.c:94:31: got unsigned int static [toplevel] *<noident> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/pcm970-baseboard.c')
-rw-r--r--arch/arm/mach-imx/pcm970-baseboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/pcm970-baseboard.c b/arch/arm/mach-imx/pcm970-baseboard.c
index f490a406d57e..7cffad880e42 100644
--- a/arch/arm/mach-imx/pcm970-baseboard.c
+++ b/arch/arm/mach-imx/pcm970-baseboard.c
@@ -31,7 +31,7 @@
31 31
32#include "devices.h" 32#include "devices.h"
33 33
34static int pcm970_pins[] = { 34static const int pcm970_pins[] __initconst = {
35 /* SDHC */ 35 /* SDHC */
36 PB4_PF_SD2_D0, 36 PB4_PF_SD2_D0,
37 PB5_PF_SD2_D1, 37 PB5_PF_SD2_D1,