mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user