mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00: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