diff options
Diffstat (limited to 'arch/arm/mach-s3c2410/include')
-rw-r--r-- | arch/arm/mach-s3c2410/include/mach/gpio.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2410/include/mach/gpio.h b/arch/arm/mach-s3c2410/include/mach/gpio.h index 3b52b86498a..7232f8ca474 100644 --- a/arch/arm/mach-s3c2410/include/mach/gpio.h +++ b/arch/arm/mach-s3c2410/include/mach/gpio.h @@ -15,4 +15,11 @@ #define gpio_set_value __gpio_set_value #define gpio_cansleep __gpio_cansleep +/* These two defines should be removed as soon as the + * generic irq handling makes it upstream */ +#include <mach/hardware.h> +#define gpio_to_irq(gpio) s3c2410_gpio_getirq(gpio) +#define irq_to_gpio(irq) s3c2410_gpio_irq2pin(irq) +/* -- cut to here when generic irq makes it */ + #include <asm-generic/gpio.h> |