From 12654d612f034601950eb1becdae8065a0d26ccd Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Mon, 25 Sep 2006 12:41:30 +0300 Subject: [PATCH] --- yaml --- r: 36629 b: refs/heads/master c: 193e68be335890a99879799bdcd06e18247c110a h: refs/heads/master i: 36627: a629578170b5df03c8c8b3a1e077459ec0f4bbf0 v: v3 --- [refs] | 2 +- trunk/arch/arm/plat-omap/gpio.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index eb13e8bfa90a..8baaea18d3fd 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 75a1d10e2f110380adaa9b993fd417537e2f85ba +refs/heads/master: 193e68be335890a99879799bdcd06e18247c110a diff --git a/trunk/arch/arm/plat-omap/gpio.c b/trunk/arch/arm/plat-omap/gpio.c index d5221b2d4599..b27ba0ee00fb 100644 --- a/trunk/arch/arm/plat-omap/gpio.c +++ b/trunk/arch/arm/plat-omap/gpio.c @@ -216,7 +216,7 @@ static inline int gpio_valid(int gpio) return -1; #ifndef CONFIG_ARCH_OMAP24XX if (OMAP_GPIO_IS_MPUIO(gpio)) { - if (gpio >= MAX_GPIO_LINES + 16) + if (gpio >= OMAP_MAX_GPIO_LINES + 16) return -1; return 0; }