Path: blob/master/arch/arm/mach-gemini/include/mach/gpio.h
10820 views
/*1* Gemini gpiolib specific defines2*3* Copyright (C) 2008-2009 Paulius Zaleckas <[email protected]>4*5* This program is free software; you can redistribute it and/or modify6* it under the terms of the GNU General Public License as published by7* the Free Software Foundation; either version 2 of the License, or8* (at your option) any later version.9*/1011#ifndef __MACH_GPIO_H__12#define __MACH_GPIO_H__1314#include <mach/irqs.h>15#include <asm-generic/gpio.h>1617#define gpio_get_value __gpio_get_value18#define gpio_set_value __gpio_set_value19#define gpio_cansleep __gpio_cansleep2021#define gpio_to_irq(x) ((x) + GPIO_IRQ_BASE)22#define irq_to_gpio(x) ((x) - GPIO_IRQ_BASE)2324#endif /* __MACH_GPIO_H__ */252627