adds gpiodev support to ifxmips

SVN-Revision: 11405
This commit is contained in:
John Crispin
2008-06-08 08:07:14 +00:00
parent 2fdfd541da
commit b3331b3d03
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);