adds gpiodev support to ifxmips

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11405 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
John Crispin
2008-06-08 08:07:14 +00:00
parent 8715d963a1
commit d91dfde056
3 changed files with 30 additions and 4 deletions

View File

@@ -24,6 +24,7 @@
#define _IFXMIPS_GPIO_H_
#include <asm/ifxmips/ifxmips.h>
#include <asm/ifxmips/ifxmips_gpio.h>
static inline int gpio_direction_input(unsigned gpio) {
ifxmips_port_set_dir_in(0, gpio);