aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx2/mx27ads.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mx2/mx27ads.c')
-rw-r--r--arch/arm/mach-mx2/mx27ads.c18
1 files changed, 6 insertions, 12 deletions
diff --git a/arch/arm/mach-mx2/mx27ads.c b/arch/arm/mach-mx2/mx27ads.c
index f4ad932ba24f..ab389c22f4dd 100644
--- a/arch/arm/mach-mx2/mx27ads.c
+++ b/arch/arm/mach-mx2/mx27ads.c
@@ -71,11 +71,10 @@ static int uart_mxc_port0_init(struct platform_device *pdev)
71 ARRAY_SIZE(mxc_uart0_pins), "UART0"); 71 ARRAY_SIZE(mxc_uart0_pins), "UART0");
72} 72}
73 73
74static int uart_mxc_port0_exit(struct platform_device *pdev) 74static void uart_mxc_port0_exit(struct platform_device *pdev)
75{ 75{
76 mxc_gpio_release_multiple_pins(mxc_uart0_pins, 76 mxc_gpio_release_multiple_pins(mxc_uart0_pins,
77 ARRAY_SIZE(mxc_uart0_pins)); 77 ARRAY_SIZE(mxc_uart0_pins));
78 return 0;
79} 78}
80 79
81static int mxc_uart1_pins[] = { 80static int mxc_uart1_pins[] = {
@@ -91,11 +90,10 @@ static int uart_mxc_port1_init(struct platform_device *pdev)
91 ARRAY_SIZE(mxc_uart1_pins), "UART1"); 90 ARRAY_SIZE(mxc_uart1_pins), "UART1");
92} 91}
93 92
94static int uart_mxc_port1_exit(struct platform_device *pdev) 93static void uart_mxc_port1_exit(struct platform_device *pdev)
95{ 94{
96 mxc_gpio_release_multiple_pins(mxc_uart1_pins, 95 mxc_gpio_release_multiple_pins(mxc_uart1_pins,
97 ARRAY_SIZE(mxc_uart1_pins)); 96 ARRAY_SIZE(mxc_uart1_pins));
98 return 0;
99} 97}
100 98
101static int mxc_uart2_pins[] = { 99static int mxc_uart2_pins[] = {
@@ -111,11 +109,10 @@ static int uart_mxc_port2_init(struct platform_device *pdev)
111 ARRAY_SIZE(mxc_uart2_pins), "UART2"); 109 ARRAY_SIZE(mxc_uart2_pins), "UART2");
112} 110}
113 111
114static int uart_mxc_port2_exit(struct platform_device *pdev) 112static void uart_mxc_port2_exit(struct platform_device *pdev)
115{ 113{
116 mxc_gpio_release_multiple_pins(mxc_uart2_pins, 114 mxc_gpio_release_multiple_pins(mxc_uart2_pins,
117 ARRAY_SIZE(mxc_uart2_pins)); 115 ARRAY_SIZE(mxc_uart2_pins));
118 return 0;
119} 116}
120 117
121static int mxc_uart3_pins[] = { 118static int mxc_uart3_pins[] = {
@@ -131,11 +128,10 @@ static int uart_mxc_port3_init(struct platform_device *pdev)
131 ARRAY_SIZE(mxc_uart3_pins), "UART3"); 128 ARRAY_SIZE(mxc_uart3_pins), "UART3");
132} 129}
133 130
134static int uart_mxc_port3_exit(struct platform_device *pdev) 131static void uart_mxc_port3_exit(struct platform_device *pdev)
135{ 132{
136 mxc_gpio_release_multiple_pins(mxc_uart3_pins, 133 mxc_gpio_release_multiple_pins(mxc_uart3_pins,
137 ARRAY_SIZE(mxc_uart3_pins)); 134 ARRAY_SIZE(mxc_uart3_pins));
138 return 0;
139} 135}
140 136
141static int mxc_uart4_pins[] = { 137static int mxc_uart4_pins[] = {
@@ -151,11 +147,10 @@ static int uart_mxc_port4_init(struct platform_device *pdev)
151 ARRAY_SIZE(mxc_uart4_pins), "UART4"); 147 ARRAY_SIZE(mxc_uart4_pins), "UART4");
152} 148}
153 149
154static int uart_mxc_port4_exit(struct platform_device *pdev) 150static void uart_mxc_port4_exit(struct platform_device *pdev)
155{ 151{
156 mxc_gpio_release_multiple_pins(mxc_uart4_pins, 152 mxc_gpio_release_multiple_pins(mxc_uart4_pins,
157 ARRAY_SIZE(mxc_uart4_pins)); 153 ARRAY_SIZE(mxc_uart4_pins));
158 return 0;
159} 154}
160 155
161static int mxc_uart5_pins[] = { 156static int mxc_uart5_pins[] = {
@@ -171,11 +166,10 @@ static int uart_mxc_port5_init(struct platform_device *pdev)
171 ARRAY_SIZE(mxc_uart5_pins), "UART5"); 166 ARRAY_SIZE(mxc_uart5_pins), "UART5");
172} 167}
173 168
174static int uart_mxc_port5_exit(struct platform_device *pdev) 169static void uart_mxc_port5_exit(struct platform_device *pdev)
175{ 170{
176 mxc_gpio_release_multiple_pins(mxc_uart5_pins, 171 mxc_gpio_release_multiple_pins(mxc_uart5_pins,
177 ARRAY_SIZE(mxc_uart5_pins)); 172 ARRAY_SIZE(mxc_uart5_pins));
178 return 0;
179} 173}
180 174
181static struct platform_device *platform_devices[] __initdata = { 175static struct platform_device *platform_devices[] __initdata = {