projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make gpio conformant to generic gpio spec.
[openwrt/svn-archive/archive.git]
/
target
/
linux
/
ar7
/
files
/
arch
/
mips
/
ar7
/
gpio.c
diff --git
a/target/linux/ar7/files/arch/mips/ar7/gpio.c
b/target/linux/ar7/files/arch/mips/ar7/gpio.c
index e18dfe873a89cfc91ca1264471e50c7e8e780596..11f300fead56a0149e81c5a28df974f23e33823b 100644
(file)
--- a/
target/linux/ar7/files/arch/mips/ar7/gpio.c
+++ b/
target/linux/ar7/files/arch/mips/ar7/gpio.c
@@
-20,9
+20,9
@@
#include <asm/ar7/gpio.h>
#include <asm/ar7/gpio.h>
-static char *ar7_gpio_list[AR7_GPIO_MAX] = { 0, };
+static c
onst c
har *ar7_gpio_list[AR7_GPIO_MAX] = { 0, };
-int gpio_request(unsigned gpio, char *label)
+int gpio_request(unsigned gpio, c
onst c
har *label)
{
if (gpio >= AR7_GPIO_MAX)
return -EINVAL;
{
if (gpio >= AR7_GPIO_MAX)
return -EINVAL;