ramips: move GPIO definitions into a separate header file
[openwrt.git] / target / linux / ramips / files / arch / mips / include / asm / mach-ralink / gpio.h
1 /*
2 * Ralink SoC GPIO API support
3 *
4 * Copyright (C) 2008-2009 Gabor Juhos <juhosg@openwrt.org>
5 * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License version 2 as published
9 * by the Free Software Foundation.
10 *
11 */
12
13 #ifndef __ASM_MACH_RALINK_GPIO_H
14 #define __ASM_MACH_RALINK_GPIO_H
15
16 #define ARCH_NR_GPIOS 128
17 #include <asm-generic/gpio.h>
18
19 #define gpio_get_value __gpio_get_value
20 #define gpio_set_value __gpio_set_value
21 #define gpio_cansleep __gpio_cansleep
22 #define gpio_to_irq __gpio_to_irq
23
24 #endif /* __ASM_MACH_RALINK_GPIO_H */
This page took 0.048102 seconds and 5 git commands to generate.