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>
此提交包含在:
Uwe Kleine-König
2010-09-28 21:53:31 +02:00
提交者 Sascha Hauer
父節點 7ad211e35b
當前提交 6c80ee5170
共有 13 個檔案被更改,包括 13 行新增13 行删除

查看文件

@@ -37,7 +37,7 @@
#include "devices-imx27.h"
#include "devices.h"
static unsigned int mxt_td60_pins[] __initdata = {
static const int mxt_td60_pins[] __initconst = {
/* UART0 */
PE12_PF_UART1_TXD,
PE13_PF_UART1_RXD,