mx35pdk:Use IMX_GPIO_NR macro
authorAshok <ashokkourla2000@gmail.com>
Wed, 7 Nov 2012 07:37:15 +0000 (07:37 +0000)
committerStefano Babic <sbabic@denx.de>
Sat, 5 Jan 2013 16:44:41 +0000 (17:44 +0100)
Use IMX_GPO_NR macro

Signed-off-by: Ashok Kumar Reddy <ashokkourla2000@gmail.com>
Acked-by: Stefano Babic <sbabic@denx.de>
board/freescale/mx35pdk/mx35pdk.c

index 2aa000f238e43313bf4c2cd30ff0eb9fe0cbd2b7..b7f474e5ef49a8c6a27e37e7323df0c2a8691b96 100644 (file)
@@ -274,7 +274,7 @@ int board_late_init(void)
                mxc_request_iomux(MX35_PIN_COMPARE, MUX_CONFIG_GPIO);
                mxc_iomux_set_input(MUX_IN_GPIO1_IN_5, INPUT_CTL_PATH0);
 
-               gpio_direction_output(37, 1);
+               gpio_direction_output(IMX_GPIO_NR(2, 5), 1);
        }
 
        val = mc9sdz60_reg_read(MC9SDZ60_REG_GPIO_1) | 0x04;