From d396edb117c1718f168f286883ec17e0afc33bdc Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 15 Aug 2012 15:41:50 +0200 Subject: [PATCH] --- yaml --- r: 332236 b: refs/heads/master c: 6a88a0f762a61f212d4bbcf1ad45369f28014484 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/mips/include/asm/mach-lantiq/gpio.h | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index 5faa74c973cf..b5f2ba12a383 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8e004b47b7645fe8ebe1bb81f75cd8f16650de68 +refs/heads/master: 6a88a0f762a61f212d4bbcf1ad45369f28014484 diff --git a/trunk/arch/mips/include/asm/mach-lantiq/gpio.h b/trunk/arch/mips/include/asm/mach-lantiq/gpio.h index f79505b43609..9ba1caebca5f 100644 --- a/trunk/arch/mips/include/asm/mach-lantiq/gpio.h +++ b/trunk/arch/mips/include/asm/mach-lantiq/gpio.h @@ -1,10 +1,7 @@ #ifndef __ASM_MIPS_MACH_LANTIQ_GPIO_H #define __ASM_MIPS_MACH_LANTIQ_GPIO_H -static inline int gpio_to_irq(unsigned int gpio) -{ - return -1; -} +#define gpio_to_irq __gpio_to_irq #define gpio_get_value __gpio_get_value #define gpio_set_value __gpio_set_value