diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-09-28 15:53:31 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-01 03:33:07 -0400 |
commit | 6c80ee51707ec9fcf137bc7b511d2853b772eae6 (patch) | |
tree | 4c6e6edd27f2a93fa8ed5a295fba122301952a5f /arch/arm/mach-imx/mach-scb9328.c | |
parent | 7ad211e35b41166ccf8448345726f324f26260f7 (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/mach-scb9328.c')
-rw-r--r-- | arch/arm/mach-imx/mach-scb9328.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/mach-scb9328.c b/arch/arm/mach-imx/mach-scb9328.c index 88bf0d1e26e6..fb2e5f3d37f6 100644 --- a/arch/arm/mach-imx/mach-scb9328.c +++ b/arch/arm/mach-imx/mach-scb9328.c | |||
@@ -95,7 +95,7 @@ static struct platform_device dm9000x_device = { | |||
95 | } | 95 | } |
96 | }; | 96 | }; |
97 | 97 | ||
98 | static int mxc_uart1_pins[] = { | 98 | static const int mxc_uart1_pins[] = { |
99 | PC9_PF_UART1_CTS, | 99 | PC9_PF_UART1_CTS, |
100 | PC10_PF_UART1_RTS, | 100 | PC10_PF_UART1_RTS, |
101 | PC11_PF_UART1_TXD, | 101 | PC11_PF_UART1_TXD, |