diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-12-06 22:41:04 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2012-12-06 22:41:04 +0000 |
commit | 849662a8ec51913e8a4416be65cf9a66dd658b8d (patch) | |
tree | be2e22e7af86df04340ed80fe9a4f533c2e27c6a /target/linux/adm8668/files/arch/mips/include | |
parent | 78b235cfc378022d03b676c1ce7d18f4930f2643 (diff) | |
download | mtk-20170518-849662a8ec51913e8a4416be65cf9a66dd658b8d.zip mtk-20170518-849662a8ec51913e8a4416be65cf9a66dd658b8d.tar.gz mtk-20170518-849662a8ec51913e8a4416be65cf9a66dd658b8d.tar.bz2 |
add a gpiolib driver
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34564
Diffstat (limited to 'target/linux/adm8668/files/arch/mips/include')
-rw-r--r-- | target/linux/adm8668/files/arch/mips/include/asm/mach-adm8668/gpio.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/adm8668/files/arch/mips/include/asm/mach-adm8668/gpio.h b/target/linux/adm8668/files/arch/mips/include/asm/mach-adm8668/gpio.h new file mode 100644 index 0000000..b0473fc --- /dev/null +++ b/target/linux/adm8668/files/arch/mips/include/asm/mach-adm8668/gpio.h @@ -0,0 +1,13 @@ +#ifndef __ADM8668_GPIO_H__ +#define __ADM8668_GPIO_H__ + +#define gpio_to_irq(gpio) -1 + +#define gpio_get_value __gpio_get_value +#define gpio_set_value __gpio_set_value + +#define gpio_cansleep __gpio_cansleep + +#include <asm-generic/gpio.h> + +#endif |