ARM: imx: rename mxc_uart_devicex to follow a common naming scheme
[deliverable/linux.git] / arch / arm / mach-mx1 / mach-scb9328.c
index 7c6bbe83545898459e6f051ee4a9e02961b4a1be..482b24df46247d33e03e0dcb2a02297588cbada0 100644 (file)
@@ -108,11 +108,10 @@ static int uart1_mxc_init(struct platform_device *pdev)
                        ARRAY_SIZE(mxc_uart1_pins), "UART1");
 }
 
-static int uart1_mxc_exit(struct platform_device *pdev)
+static void uart1_mxc_exit(struct platform_device *pdev)
 {
        mxc_gpio_release_multiple_pins(mxc_uart1_pins,
                        ARRAY_SIZE(mxc_uart1_pins));
-       return 0;
 }
 
 static struct imxuart_platform_data uart_pdata = {
@@ -131,7 +130,7 @@ static struct platform_device *devices[] __initdata = {
  */
 static void __init scb9328_init(void)
 {
-       mxc_register_device(&imx_uart1_device, &uart_pdata);
+       mxc_register_device(&imx1_uart_device0, &uart_pdata);
 
        printk(KERN_INFO"Scb9328: Adding devices\n");
        platform_add_devices(devices, ARRAY_SIZE(devices));
This page took 0.023759 seconds and 5 git commands to generate.