From 176cd018c633462e2b1d89df32aa2d01bf41c23b Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Wed, 22 Jun 2011 09:25:23 -0300 Subject: [PATCH] --- yaml --- r: 258637 b: refs/heads/master c: 98618cfe22a5dbb87c0deb341734436aeecd51bf h: refs/heads/master i: 258635: 6d4a1f5a8a637fce1b6c9bb5d33b2a88a5bb2418 v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-imx/mach-mx27_3ds.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index c88e6ad8fa6e..9149425f4bdb 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9333d8731f677e54d5dc28a1652d0879096d8537 +refs/heads/master: 98618cfe22a5dbb87c0deb341734436aeecd51bf diff --git a/trunk/arch/arm/mach-imx/mach-mx27_3ds.c b/trunk/arch/arm/mach-imx/mach-mx27_3ds.c index 6e1accf93f81..c60cd3332e81 100644 --- a/trunk/arch/arm/mach-imx/mach-mx27_3ds.c +++ b/trunk/arch/arm/mach-imx/mach-mx27_3ds.c @@ -42,10 +42,10 @@ #include "devices-imx27.h" -#define SD1_EN_GPIO (GPIO_PORTB + 25) -#define OTG_PHY_RESET_GPIO (GPIO_PORTB + 23) -#define SPI2_SS0 (GPIO_PORTD + 21) -#define EXPIO_PARENT_INT (MXC_INTERNAL_IRQS + GPIO_PORTC + 28) +#define SD1_EN_GPIO IMX_GPIO_NR(2, 25) +#define OTG_PHY_RESET_GPIO IMX_GPIO_NR(2, 23) +#define SPI2_SS0 IMX_GPIO_NR(4, 21) +#define EXPIO_PARENT_INT gpio_to_irq(IMX_GPIO_NR(3, 28)) static const int mx27pdk_pins[] __initconst = { /* UART1 */